Some Corrections For Mobile
This commit is contained in:
@@ -40,7 +40,10 @@ export const useProfileStore = defineStore('profile', () => {
|
||||
let profiles = (await supabase.from("profiles").select("*, role(*)")).data
|
||||
let activeProfileConnection = profileconnections.find(i => i.active)
|
||||
if(activeProfileConnection) {
|
||||
toast.add({title: 'Aktives Profil ausgewählt'})
|
||||
if(!await useCapacitor().getIsPhone()) {
|
||||
toast.add({title: 'Aktives Profil ausgewählt'})
|
||||
}
|
||||
|
||||
console.log("Active Profile selected")
|
||||
activeProfile.value = profiles.find(i => i.id === activeProfileConnection.profile_id)
|
||||
currentTenant.value = activeProfile.value.tenant
|
||||
|
||||
Reference in New Issue
Block a user