ARTEMIS-3508 enhance all fields for which an enhancement function exists

This commit is contained in:
Erwin Dondorp 2021-09-30 13:26:35 +02:00 committed by Justin Bertram
parent fa0174b3de
commit f4be4d9718
1 changed files with 4 additions and 0 deletions

View File

@ -794,8 +794,12 @@ var Artemis;
if (!_.some(ignoreColumns, function (k) { return k === key; }) && !_.some(flattenColumns, function (k) { return k === key; })) {
if(key === "expiration") {
value += " (" + formatExpires(value) + ")";
} else if(key === "persistentSize") {
value += " (" + formatPersistentSize(value) + ")";
} else if(key === "timestamp") {
value += " (" + formatTimestamp(value) + ")";
} else if(key === "type") {
value += " (" + formatType(value) + ")";
}
headers.push({key: key, value: value});
}