Skip to content

Commit 6171530

Browse files
committed
fix: update filterBySelect method to accept a generic field type
Signed-off-by: Manuel Abascal <mjabascal10@gmail.com>
1 parent f80bfcb commit 6171530

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/app/app-management/app-logs/app-logs.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export class AppLogsComponent implements OnInit {
8282
this.loadAll();
8383
}
8484

85-
filterBySelect($event: any, field: 'source' | 'type') {
85+
filterBySelect($event: any, field: string) {
8686
const index = this.req.filters.findIndex(value => value.field === field);
8787
if (index === -1) {
8888
this.req.filters.push({field, operator: ElasticOperatorsEnum.IS, value: $event});

0 commit comments

Comments
 (0)