ソースを参照

Merge branch 'master' into support/typescriptize-searchform

Yuki Takei 4 年 前
コミット
ce54218be0
1 ファイル変更1 行追加1 行削除
  1. 1 1
      packages/app/src/client/app.jsx

+ 1 - 1
packages/app/src/client/app.jsx

@@ -98,7 +98,7 @@ Object.assign(componentMappings, {
   'not-found-page': <NotFoundPage />,
   'not-found-page': <NotFoundPage />,
   'not-found-alert': <NotFoundAlert
   'not-found-alert': <NotFoundAlert
     isGuestUserMode={appContainer.isGuestUser}
     isGuestUserMode={appContainer.isGuestUser}
-    isHidden={pageContainer.state.isNotCreatable || pageContainer.state.isTrashPage}
+    isHidden={pageContainer.state.pageId != null ? (pageContainer.state.isNotCreatable ?? pageContainer.state.isTrashPage) : false} // !!DO NOT MOVE THIS!! https://github.com/weseek/growi/pull/4899
   />,
   />,
 
 
   'forbidden-page': <ForbiddenPage />,
   'forbidden-page': <ForbiddenPage />,