Explorar o código

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

add display-switcher in base.jsx
Yuki Takei %!s(int64=5) %!d(string=hai) anos
pai
achega
9e73ecee73
Modificáronse 1 ficheiros con 0 adicións e 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 />,
   });
 }