Skip to content

Commit

Permalink
Resets display after view edit. Fixes: nasa/fprime#1757
Browse files Browse the repository at this point in the history
  • Loading branch information
LeStarch committed Nov 25, 2024
1 parent f4faf34 commit 0d48a7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 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,14 @@ Vue.component("fp-table", {
*/
saveView: function() {
this.editing = false;
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;
setTimeout(this.send, 10); // Force refresh when no data is available
},
/**
* Adds everything into the view
Expand Down

0 comments on commit 0d48a7f

Please sign in to comment.