Skip to content

Commit e4c9432

Browse files
committed
remove IS operator
Signed-off-by: Sahiba Mittal <[email protected]>
1 parent 35b124e commit e4c9432

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/views/policy/PolicyCondition.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,7 @@
182182
this.operators = this.numericOperators;
183183
break;
184184
case 'CWE':
185-
this.operators = [...this.listOperators, ...this.objectOperators];
186-
this.operators.splice(this.operators.findIndex(a => a.value === 'IS_NOT'), 1);
185+
this.operators = this.listOperators;
187186
break;
188187
default:
189188
this.operators = [];

0 commit comments

Comments
 (0)