summaryrefslogtreecommitdiff
path: root/src/layouts
diff options
context:
space:
mode:
authorYoshie Muranaka <yoshiemuranaka@gmail.com>2021-02-04 22:23:03 +0300
committerYoshie Muranaka <yoshiemuranaka@gmail.com>2021-02-16 20:31:15 +0300
commit6f71284973ee2f0b35fb22fa36a1afa883a0cc7a (patch)
treef9e09b4b23990396d343afb1c8a7402493e73d02 /src/layouts
parented06bf67619c22079a148ee1476f19b32ba2c6e7 (diff)
downloadwebui-vue-6f71284973ee2f0b35fb22fa36a1afa883a0cc7a.tar.xz
Update single file firmware upload page
These updates are visible with IBM dotenv variables. Updates include changes to layout and verbiage. - Added a global application refresh listener, so app refresh can be called from components outside of the application header Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I5ebe6452a0360b6cced5597b648cde33e97c5a1f
Diffstat (limited to 'src/layouts')
-rw-r--r--src/layouts/AppLayout.vue3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/layouts/AppLayout.vue b/src/layouts/AppLayout.vue
index 228b25cd..c2023dfb 100644
--- a/src/layouts/AppLayout.vue
+++ b/src/layouts/AppLayout.vue
@@ -48,6 +48,9 @@ export default {
});
},
},
+ mounted() {
+ this.$root.$on('refresh-application', () => this.refresh());
+ },
methods: {
refresh() {
// Changing the component :key value will trigger