zahmis 5 лет назад
Родитель
Сommit
85d0230374
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      src/client/js/app.jsx

+ 1 - 2
src/client/js/app.jsx

@@ -80,7 +80,7 @@ Object.assign(componentMappings, {
 
 
   'not-found-page': <NotFoundPage />,
   'not-found-page': <NotFoundPage />,
 
 
-  'not-found-alert': <NotFoundAlert onPageCreateClicked={navigationContainer.setEditorMode} isForbidden={pageContainer.isForbidden} />,
+  'not-found-alert': <NotFoundAlert onPageCreateClicked={navigationContainer.setEditorMode} isForbidden={pageContainer.state.isForbidden} />,
 
 
   'page-timeline': <PageTimeline />,
   'page-timeline': <PageTimeline />,
 
 
@@ -88,7 +88,6 @@ Object.assign(componentMappings, {
 
 
   'grw-fab-container': <Fab />,
   'grw-fab-container': <Fab />,
 });
 });
-console.log(pageContainer.isForbidden);
 
 
 // additional definitions if data exists
 // additional definitions if data exists
 if (pageContainer.state.pageId != null) {
 if (pageContainer.state.pageId != null) {