From 6f71284973ee2f0b35fb22fa36a1afa883a0cc7a Mon Sep 17 00:00:00 2001 From: Yoshie Muranaka Date: Thu, 4 Feb 2021 11:23:03 -0800 Subject: 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 Change-Id: I5ebe6452a0360b6cced5597b648cde33e97c5a1f --- src/layouts/AppLayout.vue | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/layouts/AppLayout.vue') 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 -- cgit v1.2.3