Browse Source

Closing project on logout

On logout the current project is now closed.
blunk 3 năm trước cách đây
mục cha
commit
08d5206dfe
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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>