Explorar o código

Closing project on logout

On logout the current project is now closed.
blunk %!s(int64=3) %!d(string=hai) anos
pai
achega
08d5206dfe
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 class="logout"
-           @click="$root.socket.logout()">
+           @click="$emit('close', true);$root.socket.logout()">
          Logout ({{$root.socket.username}})
       </div>
     </div>