Introduced ProfileStore
Corrected All Links to DataStore
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user