Explorar el Código

Merge pull request #2942 from weseek/imprv/make-page-content-visible-to-logout-user

add display-switcher in base.jsx
Yuki Takei hace 5 años
padre
commit
9e73ecee73
Se han modificado 1 ficheros con 0 adiciones y 5 borrados
  1. 0 5
      src/client/js/app.jsx

+ 0 - 5
src/client/js/app.jsx

@@ -119,11 +119,6 @@ if (pageContainer.state.path != null) {
     'page': <Page />,
     'grw-subnav-container': <GrowiSubNavigation />,
     'grw-subnav-switcher-container': <GrowiSubNavigationSwitcher />,
-  });
-}
-// additional definitions if user is logged in
-if (appContainer.currentUser != null) {
-  Object.assign(componentMappings, {
     'display-switcher': <DisplaySwitcher />,
   });
 }