Introduced ProfileStore
Corrected All Links to DataStore
This commit is contained in:
@@ -12,6 +12,7 @@ const props = defineProps({
|
||||
const {type, elementId} = props
|
||||
|
||||
const dataStore = useDataStore()
|
||||
const profileStore = useProfileStore()
|
||||
const tags = dataStore.getDocumentTags
|
||||
|
||||
const uploadModalOpen = ref(false)
|
||||
@@ -19,7 +20,7 @@ const uploadInProgress = ref(false)
|
||||
const fileUploadFormData = ref({
|
||||
tags: ["Dokument"],
|
||||
project: null,
|
||||
tenant: dataStore.currentTenant
|
||||
tenant: profileStore.currentTenant
|
||||
})
|
||||
|
||||
const openModal = () => {
|
||||
|
||||
Reference in New Issue
Block a user