Browse Source

Closing project on logout

On logout the current project is now closed.
blunk 3 years ago
parent
commit
08d5206dfe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      webui/src/components/window/top-navigation-bar.vue

+ 1 - 1
webui/src/components/window/top-navigation-bar.vue

@@ -19,7 +19,7 @@
 
 
     <div v-if="$root.socket.authenticated">
     <div v-if="$root.socket.authenticated">
       <div class="logout"
       <div class="logout"
-           @click="$root.socket.logout()">
+           @click="$emit('close', true);$root.socket.logout()">
          Logout ({{$root.socket.username}})
          Logout ({{$root.socket.username}})
       </div>
       </div>
     </div>
     </div>