浏览代码

Closing project on logout

On logout the current project is now closed.
blunk 3 年之前
父节点
当前提交
08d5206dfe
共有 1 个文件被更改,包括 1 次插入1 次删除
  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>