fix monitor list jumping to top on route change

This commit is contained in:
henrygd
2021-08-29 15:28:43 -07:00
parent 3ad736692f
commit 2776f942ab
3 changed files with 6 additions and 5 deletions

View File

@@ -40,8 +40,7 @@
</header>
<main>
<!-- Add :key to disable vue router re-use the same component -->
<router-view v-if="$root.loggedIn" :key="$route.fullPath" />
<router-view v-if="$root.loggedIn" />
<Login v-if="! $root.loggedIn && $root.allowLoginDialog" />
</main>