chore: simplify showing a related tasks' title

This commit is contained in:
kolaente 2021-11-02 19:29:06 +01:00
parent fed3014c7b
commit 143e7fb7fc
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@
</span>
<span v-tooltip="$t('task.relation.differentList')">
{{
$store.getters['lists/getListById'](props.option.listId) === null ? '' : $store.getters['lists/getListById'](props.option.listId).title
$store.getters['lists/getListById'](props.option.listId)?.title || ''
}} >
</span>
</span>
@ -101,7 +101,7 @@
</span>
<span v-tooltip="$t('task.relation.differentList')">
{{
$store.getters['lists/getListById'](t.listId) === null ? '' : $store.getters['lists/getListById'](t.listId).title
$store.getters['lists/getListById'](t.listId)?.title || ''
}} >
</span>
</span>