ARTEMIS-3469 additionally show readable versions of expiration/timestamp

This commit is contained in:
Erwin Dondorp 2021-09-09 16:42:25 +02:00 committed by Justin Bertram
parent d99b2e30ee
commit 366ab504ac
1 changed files with 5 additions and 0 deletions

View File

@ -790,6 +790,11 @@ var Artemis;
var headers = [];
angular.forEach(message, function (value, key) {
if (!_.some(ignoreColumns, function (k) { return k === key; }) && !_.some(flattenColumns, function (k) { return k === key; })) {
if(key === "expiration") {
value += " (" + formatExpires(value) + ")";
} else if(key === "timestamp") {
value += " (" + formatTimestamp(value) + ")";
}
headers.push({key: key, value: value});
}
});