Skip to content

Commit

Permalink
bcmetz: per lestarchs instruction fixed the blanking of charts when a…
Browse files Browse the repository at this point in the history
…dding, removing, fixing timescales, also fixed bug where fixed timescales for a removed chart would cause the remaining charts to freeze up
  • Loading branch information
Brandon Metz committed Aug 3, 2021
1 parent b3b8c30 commit 575d65b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/fprime_gds/flask/static/addons/chart-display/addon.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import './modified-vendor/chartjs-plugin-streaming.js';
Vue.component("chart-wrapper", {
data: function () {
return {
counter: 1,
locked: false,
isHelpActive: true,
wrappers: [{"id": 0}], // Starts with a single chart
Expand Down
4 changes: 2 additions & 2 deletions src/fprime_gds/flask/static/addons/chart-display/sibling.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export class SiblingSet {
remove(sibling) {
let index = this._siblings.indexOf(sibling);
if (index !== -1) {
this._siblings.slice(index, 1); // lgtm [js/ignore-array-result]
this._siblings.splice(index, 1);
}
}
}
}

0 comments on commit 575d65b

Please sign in to comment.