diff --git a/src/app/app.html b/src/app/app.html index 9087561..43a974e 100644 --- a/src/app/app.html +++ b/src/app/app.html @@ -3,7 +3,7 @@
import('./pages/welcome/welcome').then(x => x.Welcome)
+ path: 'dashboard',
+ loadComponent: () => import('./pages/dashboard/dashboard').then(x => x.Dashboard)
},
{
path: 'stock',
diff --git a/src/app/components/deliverer-choice/deliverer-choice.ts b/src/app/components/deliverer-choice/deliverer-choice.ts
index 51112b4..aeffa1f 100644
--- a/src/app/components/deliverer-choice/deliverer-choice.ts
+++ b/src/app/components/deliverer-choice/deliverer-choice.ts
@@ -1,4 +1,4 @@
-import {Component, inject, OnInit, output, signal} from '@angular/core';
+import {Component, inject, OnInit, signal} from '@angular/core';
import {FormControl, FormGroup, FormsModule, ReactiveFormsModule, Validators} from "@angular/forms";
import {NzColDirective, NzRowDirective} from "ng-zorro-antd/grid";
import {NzFlexDirective} from "ng-zorro-antd/flex";
diff --git a/src/app/components/deliverer-table/deliverer-table.ts b/src/app/components/deliverer-table/deliverer-table.ts
index a6c4c07..a0c82a1 100644
--- a/src/app/components/deliverer-table/deliverer-table.ts
+++ b/src/app/components/deliverer-table/deliverer-table.ts
@@ -9,7 +9,6 @@ import {DelivererForm} from "../deliverer-form/deliverer-form";
import {DeliverersService, GetDelivererDto, GetSupplierDto} from "../../services/api";
import {NzNotificationService} from "ng-zorro-antd/notification";
import {firstValueFrom} from "rxjs";
-import {SupplierForm} from "../supplier-form/supplier-form";
@Component({
selector: 'app-deliverer-table',
@@ -29,9 +28,10 @@ import {SupplierForm} from "../supplier-form/supplier-form";
export class DelivererTable implements OnInit {
private deliverersService = inject(DeliverersService);
private notificationService = inject(NzNotificationService)
+
deliverers = signal