|
@@ -48,7 +48,7 @@ const componentMappings = {
|
|
|
//'revision-history': <PageHistory pageId={pageId} />,
|
|
//'revision-history': <PageHistory pageId={pageId} />,
|
|
|
//'page-comment': <PageComment />,
|
|
//'page-comment': <PageComment />,
|
|
|
'seen-user-list': <SeenUserList />,
|
|
'seen-user-list': <SeenUserList />,
|
|
|
- 'bookmark-button': <BookmarkButton pageId={pageId} crowi={crowi} csrfToken={$('#bookmark-button').data('csrftoken')} />, // FIXME: How to pass token
|
|
|
|
|
|
|
+ 'bookmark-button': <BookmarkButton pageId={pageId} crowi={crowi} />,
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
Object.keys(componentMappings).forEach((key) => {
|
|
Object.keys(componentMappings).forEach((key) => {
|