chore: put computed in one line
This commit is contained in:
parent
3bc0b29453
commit
7e80de81f7
|
@ -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 === '') {
|
||||
|
|
Reference in New Issue