Skip to content

Commit 67693aa

Browse files
committed
remove is_not operator for cwe
Signed-off-by: Sahiba Mittal <[email protected]>
1 parent e6c9527 commit 67693aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/views/policy/PolicyCondition.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@
183183
break;
184184
case 'CWE':
185185
this.operators = [...this.listOperators, ...this.objectOperators];
186+
this.operators.splice(this.operators.findIndex(a => a.value === 'IS_NOT'), 1);
186187
break;
187188
default:
188189
this.operators = [];

0 commit comments

Comments
 (0)