|
|
@@ -65,7 +65,7 @@ let pagePath;
|
|
|
let pageContent = '';
|
|
|
let markdown = '';
|
|
|
let slackChannels;
|
|
|
-let currentPageTags = '';
|
|
|
+let currentPageTags = [];
|
|
|
let newPageTags = '';
|
|
|
if (mainContent !== null) {
|
|
|
pageId = mainContent.getAttribute('data-page-id') || null;
|
|
|
@@ -307,7 +307,7 @@ if (pageId) {
|
|
|
if (pagePath) {
|
|
|
componentMappings['page'] = <Page crowi={crowi} crowiRenderer={crowiRenderer} markdown={markdown} pagePath={pagePath} showHeadEditButton={true} onSaveWithShortcut={saveWithShortcut} />;
|
|
|
componentMappings['revision-path'] = <RevisionPath pagePath={pagePath} crowi={crowi} />;
|
|
|
- // componentMappings['page-tag'] = <PageTagForm pageTags={currentPageTags} submitTags={getNewPageTags} />; [pagetag]
|
|
|
+ // componentMappings['page-tag'] = <PageTagForm crowi={crowi} pageTags={currentPageTags} handleSubmit={getNewPageTags} />; // [pagetag]
|
|
|
componentMappings['revision-url'] = <RevisionUrl pageId={pageId} pagePath={pagePath} />;
|
|
|
}
|
|
|
|