From c67d911b1cd6cd6102059a02010b1b94ec8e06ff Mon Sep 17 00:00:00 2001 From: Anna Waldron Date: Fri, 18 Oct 2019 16:20:18 -0700 Subject: [PATCH] Fix bug in adding delta to packet state on frontend (#105) --- ait/gui/static/js/ait/tlm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ait/gui/static/js/ait/tlm.js b/ait/gui/static/js/ait/tlm.js index f42f547e..e9bdf59d 100644 --- a/ait/gui/static/js/ait/tlm.js +++ b/ait/gui/static/js/ait/tlm.js @@ -423,7 +423,7 @@ class TelemetryStream if ( Object.keys(delta).length !== 0 ) { console.log('adding delta to pkt state') for ( var field in delta ) { - this._pkt_states[packet_name][field] = this._pkt_states[packet_name][field] + delta[field] + this._pkt_states[packet_name][field] = delta[field] } } this._counters[packet_name] = counter