Commit 01868191 authored by Laura Heimann's avatar Laura Heimann

fixed reusing components with different routes

parent fa3d5d80
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div id="app" tabindex="-1" v-on:keydown.esc="closeOverlays()"> <div id="app" tabindex="-1" v-on:keydown.esc="closeOverlays()">
<main :class="(['Login'].indexOf($route.name) > -1) ? 'hide-navigation' : ''"> <main :class="(['Login'].indexOf($route.name) > -1) ? 'hide-navigation' : ''">
<Navigation v-bind:downloadQueueCount="downloadQueue.length" v-bind:downloadOverlayShown="showDownloadOverlay" /> <Navigation v-bind:downloadQueueCount="downloadQueue.length" v-bind:downloadOverlayShown="showDownloadOverlay" />
<router-view /> <router-view :key="$route.fullPath" />
</main> </main>
<ContextMenu></ContextMenu> <ContextMenu></ContextMenu>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment