Fix partly email

This commit is contained in:
2025-09-07 19:34:24 +02:00
parent c7e18d689e
commit 278afb5ee8
2 changed files with 3 additions and 282 deletions

View File

@@ -1,11 +1,12 @@
<script setup>
//TODO: BACKENDCHANGE EMAIL SENDING
const supabase = useSupabaseClient()
const dataStore = useDataStore()
const profileStore = useProfileStore()
const route = useRoute()
const router = useRouter()
const toast = useToast()
const auth = useAuthStore()
const emailData = ref({
to:"",
@@ -23,7 +24,7 @@ const loadedDocuments = ref([])
const loaded = ref(false)
const noAccountsPresent = ref(false)
const setupPage = async () => {
emailAccounts.value = await useSupabaseSelect("emailAccounts")
emailAccounts.value = await useEntities("emailAccounts").select()
if(emailAccounts.value.length === 0) {
noAccountsPresent.value = true