feat: convert navigation to script setup and ts

This commit is contained in:
Dominik Pschenitschni 2022-02-13 18:11:26 +01:00 committed by kolaente
parent b5f867cc66
commit 658ca4c955
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
8 changed files with 149 additions and 123 deletions

View file

@ -1,6 +1,7 @@
import {i18n} from '@/i18n'
import NamespaceModel from '@/models/namespace'
export const getNamespaceTitle = (n) => {
export const getNamespaceTitle = (n: NamespaceModel) => {
if (n.id === -1) {
return i18n.global.t('namespace.pseudo.sharedLists.title')
}