diff --git a/src/views/list/settings/share.vue b/src/views/list/settings/share.vue index a91626f77..8e2d9cf0e 100644 --- a/src/views/list/settings/share.vue +++ b/src/views/list/settings/share.vue @@ -43,7 +43,6 @@ import userTeam from '@/components/sharing/userTeam.vue' import {useBaseStore} from '@/stores/base' import {useConfigStore} from '@/stores/config' -import {useAuthStore} from '@/stores/auth' const {t} = useI18n({useScope: 'global'}) @@ -54,7 +53,6 @@ const title = computed(() => list.value?.title ) useTitle(title) -const authStore = useAuthStore() const configStore = useConfigStore() const linkSharingEnabled = computed(() => configStore.linkSharingEnabled) diff --git a/src/views/namespaces/settings/share.vue b/src/views/namespaces/settings/share.vue index 6600ffff4..c231e0b2c 100644 --- a/src/views/namespaces/settings/share.vue +++ b/src/views/namespaces/settings/share.vue @@ -37,7 +37,6 @@ import {RIGHTS} from '@/constants/rights' import CreateEdit from '@/components/misc/create-edit.vue' import manageSharing from '@/components/sharing/userTeam.vue' import {useTitle} from '@/composables/useTitle' -import {useAuthStore} from '@/stores/auth' const {t} = useI18n({useScope: 'global'}) @@ -49,7 +48,6 @@ const title = computed(() => namespace.value?.title ) useTitle(title) -const authStore = useAuthStore() const userIsAdmin = computed(() => namespace?.value?.maxRight === RIGHTS.ADMIN) async function loadNamespace(namespaceId: number) {