Introduced ProfileStore
Corrected All Links to DataStore
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
import axios from "axios"
|
||||
const supabase = useSupabaseClient()
|
||||
const dataStore = useDataStore()
|
||||
const profileStore = useProfileStore()
|
||||
|
||||
const createEMailAddress = ref("")
|
||||
const createEMailType = ref("imap")
|
||||
@@ -22,7 +23,7 @@ const createAccount = async () => {
|
||||
body: {
|
||||
emailAddress: createEMailAddress.value,
|
||||
accountType: createEMailType.value,
|
||||
profile: dataStore.activeProfile.id
|
||||
profile: profileStore.activeProfile.id
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user