|
|
@@ -191,6 +191,8 @@ export const defaultNotificationConfigs: { [key: string]: any } = {
|
|
|
schema.statics.getLocalconfig = function(crowi) {
|
|
|
const env = process.env;
|
|
|
|
|
|
+ const isDefaultLogo = crowi.configManager.getConfig('crowi', 'customize:isDefaultLogo');
|
|
|
+
|
|
|
const localConfig = {
|
|
|
crowi: {
|
|
|
title: crowi.appService.getAppTitle(),
|
|
|
@@ -245,9 +247,9 @@ schema.statics.getLocalconfig = function(crowi) {
|
|
|
globalLang: crowi.configManager.getConfig('crowi', 'app:globalLang'),
|
|
|
pageLimitationL: crowi.configManager.getConfig('crowi', 'customize:showPageLimitationL'),
|
|
|
pageLimitationXL: crowi.configManager.getConfig('crowi', 'customize:showPageLimitationXL'),
|
|
|
- customizedLogoSrc: crowi.configManager.getConfig('crowi', 'customize:isDefaultLogo')
|
|
|
- ? null
|
|
|
- : crowi.configManager.getConfig('crowi', 'customize:customizedLogoSrc'),
|
|
|
+ customizedLogoSrc: isDefaultLogo != null && !isDefaultLogo
|
|
|
+ ? crowi.configManager.getConfig('crowi', 'customize:customizedLogoSrc')
|
|
|
+ : null,
|
|
|
auditLogEnabled: crowi.configManager.getConfig('crowi', 'app:auditLogEnabled'),
|
|
|
activityExpirationSeconds: crowi.configManager.getConfig('crowi', 'app:activityExpirationSeconds'),
|
|
|
auditLogAvailableActions: crowi.activityService.getAvailableActions(false),
|