|
|
@@ -97,6 +97,8 @@ let componentMappings = {
|
|
|
|
|
|
'user-created-list': <RecentCreated />,
|
|
|
'user-draft-list': <MyDraftList />,
|
|
|
+
|
|
|
+ 'staff-credit': <StaffCredit />,
|
|
|
};
|
|
|
|
|
|
// additional definitions if data exists
|
|
|
@@ -183,16 +185,6 @@ if (adminGrantSelectorElem != null) {
|
|
|
);
|
|
|
}
|
|
|
|
|
|
-// render for stuff credit
|
|
|
-const pageStuffCreditElem = document.getElementById('staff-credit');
|
|
|
-if (pageStuffCreditElem) {
|
|
|
- ReactDOM.render(
|
|
|
- <StaffCredit></StaffCredit>,
|
|
|
- pageStuffCreditElem,
|
|
|
- );
|
|
|
-
|
|
|
-}
|
|
|
-
|
|
|
// うわーもうー (commented by Crowi team -- 2018.03.23 Yuki Takei)
|
|
|
$('a[data-toggle="tab"][href="#revision-history"]').on('show.bs.tab', () => {
|
|
|
ReactDOM.render(
|