Deleted search bar
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import {Component, inject, viewChild} from '@angular/core';
|
||||
import {Search} from "../../components/search/search";
|
||||
import {ModalButton} from "../../components/modal-button/modal-button";
|
||||
import {SupplierTable} from "../../components/supplier-table/supplier-table";
|
||||
import {SupplierForm} from "../../components/supplier-form/supplier-form";
|
||||
@@ -10,7 +9,6 @@ import {firstValueFrom} from "rxjs";
|
||||
@Component({
|
||||
selector: 'app-supplier',
|
||||
imports: [
|
||||
Search,
|
||||
SupplierForm,
|
||||
SupplierTable,
|
||||
ModalButton
|
||||
@@ -36,10 +34,6 @@ export class Supplier {
|
||||
this.modal().isVisible = false;
|
||||
}
|
||||
|
||||
onSupplierSearch(query: string) {
|
||||
this.supplierTable().applySearch(query);
|
||||
}
|
||||
|
||||
async addSupplier() {
|
||||
if (this.createSupplier().supplierForm.invalid) {
|
||||
this.notificationService.error(
|
||||
|
||||
Reference in New Issue
Block a user