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
1 changed files with 1 additions and 3 deletions
Showing only changes of commit 7e80de81f7 - Show all commits

View File

@ -29,9 +29,7 @@ const props = defineProps({
})
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(() => {
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 === '') {