fix: archive list title only with loaded list
This commit is contained in:
parent
db7bc4121f
commit
9cfc14773b
|
@ -28,7 +28,10 @@ const listStore = useListStore()
|
|||
const route = useRoute()
|
||||
|
||||
const list = computed(() => listStore.getListById(route.params.listId))
|
||||
useTitle(() => t('list.archive.title', {list: list.value.title}))
|
||||
useTitle(() => list.value
|
||||
? t('list.archive.title', {list: list.value.title})
|
||||
: undefined,
|
||||
)
|
||||
|
||||
async function archiveList(onClose: () => void) {
|
||||
try {
|
||||
|
|
Reference in New Issue