chore: put computed in one line

This commit is contained in:
kolaente 2022-09-15 14:25:27 +02:00
parent 3bc0b29453
commit 7e80de81f7
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 3 deletions

View File

@ -29,9 +29,7 @@ const props = defineProps({
})
const store = useStore()
const list = computed(() => {
return store.getters['lists/getListById'](props.listId)
})
const list = computed(() => store.getters['lists/getListById'](props.listId))
const htmlDescription = computed(() => {
const description = list.value?.description || ''
if (description === '') {