mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 10:27:09 +00:00
Cope with undefined labels
This commit is contained in:
@@ -221,8 +221,8 @@
|
||||
<v-chip v-for="label in entry.labels"
|
||||
class="mr-1 px-2 underline-on-hover"
|
||||
x-small
|
||||
:color="labels[label].view.colour"
|
||||
:title="labels[label].view.description"
|
||||
:color="labels[label] && labels[label].view.colour"
|
||||
:title="labels[label] && labels[label].view.description"
|
||||
:key="label"
|
||||
:href="$route.path+'?label='+encodeURIComponent(label)"
|
||||
>{{label}}</v-chip>
|
||||
|
||||
Reference in New Issue
Block a user