[Table] parse/format with datum

Use formatter to parse format datum such that source remapping
is properly handled.
This commit is contained in:
Pete Richards 2017-04-03 09:46:41 -07:00
parent 4d6a0d4931
commit 0434928f55

View File

@ -65,9 +65,8 @@ define(
limitEvaluator &&
limitEvaluator.evaluate(telemetryDatum, metadatum);
var value = {
text: formatter ? formatter.format(telemetryDatum[metadatum.key])
: telemetryDatum[metadatum.key],
value: telemetryDatum[metadatum.key]
text: formatter.format(telemetryDatum),
value: formatter.parse(telemetryDatum)
};
if (alarm) {