deleted notifs components

This commit is contained in:
2026-05-25 10:40:08 +01:00
parent cb4686765b
commit b03196ce0f
144 changed files with 3346 additions and 2057 deletions
@@ -12,7 +12,7 @@ import {firstValueFrom} from "rxjs";
import {SupplierForm} from "../supplier-form/supplier-form";
@Component({
selector: 'app-deliverer-table',
selector: 'app-deliverer-table',
imports: [
ModalNav,
NzDividerComponent,
@@ -22,8 +22,8 @@ import {SupplierForm} from "../supplier-form/supplier-form";
DatePipe,
DelivererForm,
],
templateUrl: './deliverer-table.html',
styleUrl: './deliverer-table.css',
templateUrl: './deliverer-table.html',
styleUrl: './deliverer-table.css',
})
export class DelivererTable implements OnInit {
@@ -53,7 +53,7 @@ export class DelivererTable implements OnInit {
this.deliverersLoading.set(false)
}
async delete(deliverer:number) {
async delete(deliverer: number) {
try {
await firstValueFrom(this.deliverersService.deleteDelivererEndpoint(deliverer))
this.notificationService.success(
@@ -89,8 +89,9 @@ export class DelivererTable implements OnInit {
}
selectedDeliverer: GetDelivererDto | null = null;
openEditModal(supplier: GetSupplierDto) {
this.selectedDeliverer = { ...supplier };
this.selectedDeliverer = {...supplier};
this.modal().showModal();
}