feat(list): add info dialoge to show list description #2368

Merged
konrad merged 6 commits from feature/list-description into main 2022-09-15 12:36:44 +00:00
Showing only changes of commit 7e80de81f7 - Show all commits

View File

@ -29,9 +29,7 @@ const props = defineProps({
}) })
const store = useStore() const store = useStore()
konrad marked this conversation as resolved
Review

Picky:

Put in one line:

const list = computed(() => store.getters['lists/getListById'](props.listId))
Picky: Put in one line: ```ts const list = computed(() => store.getters['lists/getListById'](props.listId)) ```
Review

Done.

Done.
const list = computed(() => { const list = computed(() => store.getters['lists/getListById'](props.listId))
return store.getters['lists/getListById'](props.listId)
})
const htmlDescription = computed(() => { const htmlDescription = computed(() => {
const description = list.value?.description || '' const description = list.value?.description || ''
if (description === '') { if (description === '') {