diff client/src/application/Topbar.vue @ 896:b9aaa093a9fb

fix: splitbutton only visible when result is visible
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 02 Oct 2018 16:02:56 +0200
parents 2e2ac0b88af9
children ec9c3a111bb7
line wrap: on
line diff
--- a/client/src/application/Topbar.vue	Tue Oct 02 14:47:47 2018 +0200
+++ b/client/src/application/Topbar.vue	Tue Oct 02 16:02:56 2018 +0200
@@ -18,7 +18,7 @@
                 </ul>
             </div>
         </div>
-        <div v-if="routeName == 'mainview'" class="splitbutton">
+        <div v-if="routeName == 'mainview' && currentProfile.length" class="splitbutton">
             <i @click="splitScreen" class="ui-element splitscreen fa fa-window-restore shadow"></i>
         </div>
         <div class="">