This commit is contained in:
parent
1f13455b30
commit
c48098d362
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
|||
@click="router.push(`${collection}/${item.id}`)">
|
||||
<VListItemIcon>
|
||||
<VIcon
|
||||
:name="fields.find(f => f.field == 'category')?.meta?.options?.choices.find((c: any) => c.value == item.category).icon"
|
||||
:name="fields.find(f => f.field == 'category')?.meta?.options?.choices?.find((c: any) => c.value == item.category)?.icon"
|
||||
:color="item.priority == 'high' ? 'orange' : item.priority == 'normal' ? 'var(--theme--primary)' : 'grey'" />
|
||||
</VListItemIcon>
|
||||
<VListItemContent>
|
||||
|
@ -24,7 +24,7 @@
|
|||
<VIcon v-else name="person" />
|
||||
</VAvatar>
|
||||
<VIcon v-if="item.responsibles.length == 0" name="person_search" color="green" />
|
||||
<VIcon v-if="item.responsibles.find(x => x.directus_users_id == me)" name="person_pin_circle" color="blue" />
|
||||
<VIcon v-if="item.responsibles.find(x => x.directus_users_id.id == me)" name="person_pin_circle" color="blue" />
|
||||
<VChip v-if="item.date_due" small>
|
||||
<display-datetime format="short" :value="item.date_due" use24 />
|
||||
</VChip>
|
||||
|
|
Loading…
Add table
Reference in a new issue