vikunja-frontend/src/helpers/getListTitle.js
2021-10-01 18:49:54 +02:00

8 lines
161 B
JavaScript

import {i18n} from '@/i18n'
export const getListTitle = (l) => {
if (l.id === -1) {
return i18n.global.t('list.pseudo.favorites.title')
}
return l.title
}