ARTEMIS-3819 do not trip on empty values in web-console

This commit is contained in:
Erwin Dondorp 2023-01-18 16:23:55 +00:00 committed by Justin Bertram
parent 39750e5be0
commit dabf538f06
1 changed files with 2 additions and 0 deletions

View File

@ -328,6 +328,7 @@ var Artemis;
itemField: 'validatedUser',
header: 'Validated User',
templateFn: function(value) {
if (!value) return undefined;
return value._AMQ_VALIDATED_USER;
}
}
@ -339,6 +340,7 @@ var Artemis;
itemField: 'StringProperties',
header: 'Original Queue',
templateFn: function(value) {
if (!value) return undefined;
return (value['_AMQ_ORIG_QUEUE'] ? value['_AMQ_ORIG_QUEUE'] : value['extraProperties._AMQ_ORIG_QUEUE']);
}
};