From e13e477682ef9fd647925f459d8d4527d3c55b9b Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 25 Oct 2022 21:16:55 +0200 Subject: [PATCH] fix: lint --- src/views/list/settings/share.vue | 2 -- src/views/namespaces/settings/share.vue | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/views/list/settings/share.vue b/src/views/list/settings/share.vue index a91626f77b..8e2d9cf0e4 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 6600ffff49..c231e0b2c2 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) {