mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 11:37:08 +00:00
Silence error on non-existent label definition
This commit is contained in:
@@ -188,9 +188,9 @@ export default {
|
||||
labelToItem (k) {
|
||||
return {
|
||||
text: k,
|
||||
icon: this.labels[k].view?.icon,
|
||||
colour: this.labels[k].view?.colour,
|
||||
title: this.labels[k].view?.description
|
||||
icon: this.labels?.[k]?.view?.icon,
|
||||
colour: this.labels?.[k]?.view?.colour,
|
||||
title: this.labels?.[k]?.view?.description
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user