Add blacklist for selection groups

This commit is contained in:
Björn Fromme
2018-10-24 12:23:44 +02:00
parent 9a70962265
commit 1a93ab029e
@@ -51,7 +51,8 @@
loaded: false,
message: '',
messageClass: '',
crmData: []
crmData: [],
hiddenSelectionGroups: [ 10 ]
}
},
created () {
@@ -83,6 +84,9 @@
});
},
hasVisibleSelections (group) {
if (this.hiddenSelectionGroups.indexOf(group.id) !== -1) {
return false;
}
for (let selection of group.selections) {
if (selection.changeable === true || selection.value === true) {
return true;