|
|
@@ -25,19 +25,18 @@ import {
|
|
|
} from '~/stores/ui';
|
|
|
|
|
|
import { AdditionalMenuItemsRendererProps } from '../Common/Dropdown/PageItemControl';
|
|
|
+import CreateTemplateModal from '../CreateTemplateModal';
|
|
|
import AttachmentIcon from '../Icons/AttachmentIcon';
|
|
|
import HistoryIcon from '../Icons/HistoryIcon';
|
|
|
+import PresentationIcon from '../Icons/PresentationIcon';
|
|
|
+import ShareLinkIcon from '../Icons/ShareLinkIcon';
|
|
|
import { withUnstatedContainers } from '../UnstatedUtils';
|
|
|
|
|
|
-import ShareLinkIcon from '../Icons/ShareLinkIcon';
|
|
|
|
|
|
import { GrowiSubNavigation } from './GrowiSubNavigation';
|
|
|
import PageEditorModeManager from './PageEditorModeManager';
|
|
|
import { SubNavButtons } from './SubNavButtons';
|
|
|
|
|
|
-import PresentationIcon from '../Icons/PresentationIcon';
|
|
|
-import CreateTemplateModal from '../CreateTemplateModal';
|
|
|
-
|
|
|
|
|
|
type AdditionalMenuItemsProps = AdditionalMenuItemsRendererProps & {
|
|
|
pageId: string,
|
|
|
@@ -303,7 +302,7 @@ const GrowiContextualSubNavigation = (props) => {
|
|
|
]);
|
|
|
|
|
|
|
|
|
- if (path == null) {
|
|
|
+ if (path == null || path === undefined) {
|
|
|
return <></>;
|
|
|
}
|
|
|
|