feat: convert navigation to script setup and ts
This commit is contained in:
parent
b5f867cc66
commit
658ca4c955
8 changed files with 149 additions and 123 deletions
|
|
@ -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 a new issue