소스 검색

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>