Add blacklist for selection groups
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user