|
|
@@ -111,6 +111,7 @@ module.exports = function(crowi) {
|
|
|
'customize:behavior' : 'crowi',
|
|
|
'customize:layout' : 'crowi',
|
|
|
'customize:isEnabledTimeline' : true,
|
|
|
+ 'customize:isEnabledDeleteCompletely' : false,
|
|
|
'customize:isSavedStatesOfTabChanges' : true,
|
|
|
'customize:isEnabledAttachTitleHeader' : false,
|
|
|
'customize:showRecentCreatedNumber' : 10,
|
|
|
@@ -545,6 +546,11 @@ module.exports = function(crowi) {
|
|
|
return getValueForCrowiNS(config, key);
|
|
|
};
|
|
|
|
|
|
+ configSchema.statics.isEnabledDeleteCompletely = function(config) {
|
|
|
+ const key = 'isEnabledDeleteCompletely';
|
|
|
+ return getValueForCrowiNS(config, key);
|
|
|
+ };
|
|
|
+
|
|
|
configSchema.statics.isSavedStatesOfTabChanges = function(config) {
|
|
|
const key = 'customize:isSavedStatesOfTabChanges';
|
|
|
return getValueForCrowiNS(config, key);
|