mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
M #-: Protect the labels column to check that is always a string (#3244)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io> (cherry picked from commit 1fcb2ba5763d4c06b2d585bc9935816888aec85b)
This commit is contained in:
parent
8950a11518
commit
efa5e62be2
@ -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