Skip to content

Commit 93d453c

Browse files
committed
fix: replaced 'eq' and 'neq' operators with match-based filters
1 parent fbbc79d commit 93d453c

3 files changed

Lines changed: 9 additions & 8 deletions

File tree

frontend/src/app/rule-management/app-rule/components/add-after-event/add-after-event.component.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,9 @@
149149

150150
</div>
151151

152-
<div
153-
*ngFor="let expr of with.controls; let j = index"
152+
<div *ngFor="let expr of with.controls; let j = index"
154153
[formGroupName]="j"
155-
class="card border-light shadow-sm mb-3"
156-
>
154+
class="card border-light shadow-sm mb-3">
157155
<div class="card-body py-3 px-3">
158156
<div class="row g-3 align-items-end">
159157
<div class="col-md-4">

frontend/src/app/rule-management/app-rule/components/add-after-event/add-after-event.component.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,14 @@ export class AddAfterEventComponent implements OnInit {
2424
@Output() remove = new EventEmitter<void>();
2525
patterns$: Observable<UtmIndexPattern[]>;
2626
fields$: Observable<ElasticSearchFieldInfoType[]>;
27-
operators = [
28-
{label: 'equals', value: 'eq'},
29-
{label: 'not equals', value: 'neq'}
27+
operators = [
28+
{ label: 'filter match', value: 'filter_match' },
29+
{ label: 'filter term', value: 'filter_term' },
30+
{ label: 'must not match', value: 'must_not_match' },
31+
{ label: 'must not term', value: 'must_not_term' }
3032
];
3133

34+
3235
constructor(private fb: FormBuilder,
3336
private ruleService: RuleService,
3437
private afterEventService: AfterEventFormService,

frontend/src/environments/environment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
export const environment = {
66
production: false,
7-
SERVER_API_URL: 'https://192.168.1.22/',
7+
SERVER_API_URL: 'https://192.168.1.18/',
88
// SERVER_API_URL: 'http://localhost:8080/',
99
SERVER_API_CONTEXT: '',
1010
SESSION_AUTH_TOKEN: window.location.host.split(':')[0].toLocaleUpperCase(),

0 commit comments

Comments
 (0)