summaryrefslogtreecommitdiff
path: root/src/layouts
diff options
context:
space:
mode:
authorkennyneedsmilky <kennyneedsmilky@gmail.com>2021-11-11 00:26:07 +0300
committerDixsie Wolmers <dixsiew@gmail.com>2021-12-20 05:51:41 +0300
commit14172d745cec46a6ad4cce61eb02df962eb4f309 (patch)
tree38cdfd51c145da65f385daab55c5e20f4fe4b593 /src/layouts
parent12dc20c3701fe58b7d827ed44d65ac67cee8a4a6 (diff)
downloadwebui-vue-14172d745cec46a6ad4cce61eb02df962eb4f309.tar.xz
Fixed refresh system info on header
The refresh button in the App header previously only re-rendered the main mage section, this change also refreshes the app header and main content. Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com> Change-Id: Iff7f3f14bca8ddfd815ccb1b87dd182c4bfd79ba
Diffstat (limited to 'src/layouts')
-rw-r--r--src/layouts/AppLayout.vue7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/layouts/AppLayout.vue b/src/layouts/AppLayout.vue
index 41b2e443..0b78e5b1 100644
--- a/src/layouts/AppLayout.vue
+++ b/src/layouts/AppLayout.vue
@@ -1,6 +1,11 @@
<template>
<div class="app-container">
- <app-header ref="focusTarget" class="app-header" @refresh="refresh" />
+ <app-header
+ ref="focusTarget"
+ class="app-header"
+ :router-key="routerKey"
+ @refresh="refresh"
+ />
<app-navigation class="app-navigation" />
<page-container class="app-content">
<router-view ref="routerView" :key="routerKey" />