From 0d48a7fb19a578c526ba99477683c5107b1f26af Mon Sep 17 00:00:00 2001 From: M Starch Date: Mon, 25 Nov 2024 15:13:52 -0800 Subject: [PATCH] Resets display after view edit. Fixes: nasa/fprime#1757 --- src/fprime_gds/flask/static/js/vue-support/fptable.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fprime_gds/flask/static/js/vue-support/fptable.js b/src/fprime_gds/flask/static/js/vue-support/fptable.js index 9765eed9..90f721e8 100644 --- a/src/fprime_gds/flask/static/js/vue-support/fptable.js +++ b/src/fprime_gds/flask/static/js/vue-support/fptable.js @@ -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