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
diff --git a/src/layouts/AppLayout.vue b/src/layouts/AppLayout.vue
index 228b25c..c2023df 100644
--- a/src/layouts/AppLayout.vue
+++ b/src/layouts/AppLayout.vue
@@ -48,6 +48,9 @@
});
},
},
+ mounted() {
+ this.$root.$on('refresh-application', () => this.refresh());
+ },
methods: {
refresh() {
// Changing the component :key value will trigger