Skip to content

Commit

Permalink
Fix Two Related Bugs in GDS Channels View (#182)
Browse files Browse the repository at this point in the history
* Resets display after view edit. Fixes: nasa/fprime#1757

* Clear fliter on transition in/out of filters. Fixes: nasa/fprime#2476
  • Loading branch information
LeStarch authored Nov 25, 2024
1 parent f4faf34 commit 031baeb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/fprime_gds/flask/static/js/vue-support/fptable.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,12 +354,16 @@ Vue.component("fp-table", {
*/
saveView: function() {
this.editing = false;
this.matching = "";
setTimeout(this.send, 10); // Force refresh when no data is available
},
/**
* Puts the user into view-edit mode. Thus allowing the user to set channels.
*/
editViews: function () {
this.editing = true;
this.matching = "";
setTimeout(this.send, 10); // Force refresh when no data is available
},
/**
* Adds everything into the view
Expand Down

0 comments on commit 031baeb

Please sign in to comment.