ソースを参照

delete if user is guest in crowi.js

zahmis 5 年 前
コミット
3a69c197c8
1 ファイル変更0 行追加5 行削除
  1. 0 5
      src/client/js/legacy/crowi.js

+ 0 - 5
src/client/js/legacy/crowi.js

@@ -202,11 +202,6 @@ $(() => {
 window.addEventListener('load', (e) => {
   const { appContainer } = window;
 
-  // do nothing if user is guest
-  if (appContainer.currentUser == null) {
-    return;
-  }
-
   // hash on page
   if (window.location.hash) {
     const navigationContainer = appContainer.getContainer('NavigationContainer');