itizawa %!s(int64=6) %!d(string=hai) anos
pai
achega
ec8dc5cfba
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/server/service/global-notification/index.js

+ 2 - 2
src/server/service/global-notification/index.js

@@ -65,9 +65,9 @@ class GlobalNotificationService {
       case this.Page.GRANT_SPECIFIED:
       case this.Page.GRANT_SPECIFIED:
         return false;
         return false;
       case this.Page.GRANT_OWNER:
       case this.Page.GRANT_OWNER:
-        return (this.crowi.configManager.getConfig('crowi', 'notification:owner-page:isEnabled') || false);
+        return (this.crowi.configManager.getConfig('notification', 'notification:owner-page:isEnabled') || false);
       case this.Page.GRANT_USER_GROUP:
       case this.Page.GRANT_USER_GROUP:
-        return (this.crowi.configManager.getConfig('crowi', 'notification:group-page:isEnabled') || false);
+        return (this.crowi.configManager.getConfig('notification', 'notification:group-page:isEnabled') || false);
     }
     }
   }
   }