update searchbar on supplier and stock

This commit is contained in:
Enzo
2025-12-11 17:50:00 +01:00
parent dfaea894e4
commit 6c33b3eaf6
4 changed files with 24 additions and 4 deletions

View File

@@ -9,7 +9,8 @@
</app-modal-button>
<div class="ml-95 w-150">
<app-search></app-search>
<app-search (searchEvent)="onUserSearch($event)"></app-search>
</div>
</div>

View File

@@ -32,6 +32,9 @@ export class User {
await this.usersTable().fetchUsers()
}
onUserSearch(query: string) {
this.usersTable().applySearch(query);
}
onModalCancel() {
this.modal().isVisible = false;
}