reiji-h 2 лет назад
Родитель
Сommit
5b132daf72

+ 1 - 1
apps/app/src/client/services/AdminCustomizeContainer.js

@@ -216,7 +216,7 @@ export default class AdminCustomizeContainer extends Container {
         isEnabledStaleNotification: customizedParams.isEnabledStaleNotification,
         isAllReplyShown: customizedParams.isAllReplyShown,
         isSearchScopeChildrenAsDefault: customizedParams.isSearchScopeChildrenAsDefault,
-        isEnabledMarp: this.state.isEnabledMarp,
+        isEnabledMarp: customizedParams.state.isEnabledMarp,
       });
     }
     catch (err) {

+ 1 - 0
apps/app/src/server/models/config.ts

@@ -127,6 +127,7 @@ export const defaultCrowiConfigs: { [key: string]: any } = {
   'customize:isEnabledStaleNotification': false,
   'customize:isAllReplyShown': false,
   'customize:isSearchScopeChildrenAsDefault': false,
+  'customize:isEnabledMarp': false,
   'customize:isSidebarDrawerMode': false,
   'customize:isSidebarClosedAtDockMode': false,