[ADF-3226] remove Double behaviour setting allow download and comment (#3502)

* fix restore notification

* improve path specification property

* fix lint and document issues

* fix test

* remove unused import

* remove double behavior allowComments and allowDonload can be set only thorough input property
This commit is contained in:
Eugenio Romano
2018-06-19 08:45:11 +01:00
committed by GitHub
parent bc23d28ad6
commit ea4c9fe9aa
4 changed files with 0 additions and 16 deletions

View File

@@ -514,11 +514,6 @@
}
}
},
"adf-version-manager": {
"allowComments": true,
"allowDownload": true
},
"sideNav": {
"expandedSidenav": true,
"preserveState": true

View File

@@ -71,8 +71,6 @@ export class VersionManagerComponent {
constructor(config: AppConfigService,
private contentService: ContentService,
private alfrescoApiService: AlfrescoApiService) {
this.showComments = config.get('adf-version-manager.allowComments', true);
this.allowDownload = config.get('adf-version-manager.allowDownload', true);
}
onUploadSuccess(event) {

View File

@@ -487,14 +487,6 @@
"scope": { "type": "string" }
}
},
"adf-version-manager": {
"description": "Configuration parameters for Version Manager component",
"type": "object",
"properties": {
"allowComments": { "type": "boolean" },
"allowDownload": { "type": "boolean" }
}
},
"search": {
"description": "Search configuration parameters",
"type": "object",

View File

@@ -41,7 +41,6 @@ var statusIcons;
function initPhase(aggData) {
statusIcons = aggData.config["statusIcons"] || {};
aggData.stoplist = makeStoplist(aggData.config);
aggData.srcData = {};
aggData.mdFileDesc = [];