feat: convert navigation to script setup and ts
This commit is contained in:

committed by
kolaente

parent
b5f867cc66
commit
658ca4c955
@ -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')
|
||||
}
|
||||
|
Reference in New Issue
Block a user