vikunja-frontend/src/helpers/getListTitle.js
2021-07-19 11:18:22 +02:00

6 lines
125 B
JavaScript

export const getListTitle = (l, $t) => {
if (l.id === -1) {
return $t('list.pseudo.favorites.title')
}
return l.title
}