fix: lint
This commit is contained in:
parent
8a5b1ab3e3
commit
e13e477682
@ -43,7 +43,6 @@ import userTeam from '@/components/sharing/userTeam.vue'
|
|||||||
|
|
||||||
import {useBaseStore} from '@/stores/base'
|
import {useBaseStore} from '@/stores/base'
|
||||||
import {useConfigStore} from '@/stores/config'
|
import {useConfigStore} from '@/stores/config'
|
||||||
import {useAuthStore} from '@/stores/auth'
|
|
||||||
|
|
||||||
const {t} = useI18n({useScope: 'global'})
|
const {t} = useI18n({useScope: 'global'})
|
||||||
|
|
||||||
@ -54,7 +53,6 @@ const title = computed(() => list.value?.title
|
|||||||
)
|
)
|
||||||
useTitle(title)
|
useTitle(title)
|
||||||
|
|
||||||
const authStore = useAuthStore()
|
|
||||||
const configStore = useConfigStore()
|
const configStore = useConfigStore()
|
||||||
|
|
||||||
const linkSharingEnabled = computed(() => configStore.linkSharingEnabled)
|
const linkSharingEnabled = computed(() => configStore.linkSharingEnabled)
|
||||||
|
@ -37,7 +37,6 @@ import {RIGHTS} from '@/constants/rights'
|
|||||||
import CreateEdit from '@/components/misc/create-edit.vue'
|
import CreateEdit from '@/components/misc/create-edit.vue'
|
||||||
import manageSharing from '@/components/sharing/userTeam.vue'
|
import manageSharing from '@/components/sharing/userTeam.vue'
|
||||||
import {useTitle} from '@/composables/useTitle'
|
import {useTitle} from '@/composables/useTitle'
|
||||||
import {useAuthStore} from '@/stores/auth'
|
|
||||||
|
|
||||||
const {t} = useI18n({useScope: 'global'})
|
const {t} = useI18n({useScope: 'global'})
|
||||||
|
|
||||||
@ -49,7 +48,6 @@ const title = computed(() => namespace.value?.title
|
|||||||
)
|
)
|
||||||
useTitle(title)
|
useTitle(title)
|
||||||
|
|
||||||
const authStore = useAuthStore()
|
|
||||||
const userIsAdmin = computed(() => namespace?.value?.maxRight === RIGHTS.ADMIN)
|
const userIsAdmin = computed(() => namespace?.value?.maxRight === RIGHTS.ADMIN)
|
||||||
|
|
||||||
async function loadNamespace(namespaceId: number) {
|
async function loadNamespace(namespaceId: number) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user