Migrates lists module to store
This commit is contained in:
parent
ad7d47f440
commit
8eff081468
13 changed files with 248 additions and 109 deletions
|
|
@ -9,6 +9,7 @@ import {
|
|||
faChevronDown
|
||||
} from '@fortawesome/free-solid-svg-icons'
|
||||
import { useInterfaceStore } from '../../stores/interface'
|
||||
import { useListsStore } from '../../stores/lists'
|
||||
|
||||
library.add(faChevronDown)
|
||||
|
||||
|
|
@ -87,7 +88,7 @@ const TimelineMenu = {
|
|||
return '#' + this.$route.params.tag
|
||||
}
|
||||
if (route === 'lists-timeline') {
|
||||
return this.$store.getters.findListTitle(this.$route.params.id)
|
||||
return useListsStore().findListTitle(this.$route.params.id)
|
||||
}
|
||||
const i18nkey = timelineNames()[this.$route.name]
|
||||
return i18nkey ? this.$t(i18nkey) : route
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue