Introduced ProfileStore

Corrected All Links to DataStore
This commit is contained in:
2024-12-21 22:33:42 +01:00
parent 813944fc23
commit b465f4a75a
64 changed files with 508 additions and 959 deletions

View File

@@ -4,7 +4,7 @@
export const useRole = () => {
const dataStore = useDataStore()
const profileStore = useProfileStore()
const generalAvailableRights = ref({
@@ -178,7 +178,7 @@ export const useRole = () => {
})
let role = dataStore.activeProfile.role
let role = profileStore.activeProfile.role
const checkRight = (right) => {
let rightsToCheck = [right]