mirror of
https://github.com/OpenNebula/one.git
synced 2025-04-01 06:50:25 +03:00
M #-: Protect the labels column to check that is always a string (#3244)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
This commit is contained in:
parent
f48d0216c9
commit
1fcb2ba576
@ -403,7 +403,9 @@ define(function (require) {
|
||||
);
|
||||
} else {
|
||||
return TemplateUtils.htmlEncode(
|
||||
elementTemplate && elementTemplate[LABELS_ATTR]
|
||||
elementTemplate &&
|
||||
elementTemplate[LABELS_ATTR] &&
|
||||
typeof elementTemplate[LABELS_ATTR] === 'string'
|
||||
? elementTemplate[LABELS_ATTR]
|
||||
: ""
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user