Ignore:
Timestamp:
08/07/20 10:59:56 (2 years ago)
Author:
Mile Jankuloski <mile.jankuloski@…>
Branches:
master
Children:
63d885e
Parents:
c73269d
Message:

Added DataService and dialogs, all bindings needed implemented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Farmatiko/ClientApp/src/app/app.module.ts

    rc73269d ree137aa  
    66import { MaterialModule } from './shared/material.module';
    77import { ReactiveFormsModule } from '@angular/forms';
     8
     9import { DataService } from './shared/data.service';
    810
    911import { AppComponent } from './app.component';
     
    1618import { DashboardComponent } from './dashboard/dashboard.component';
    1719import { LoginComponent } from './login/login.component';
     20import { MedicineDialogComponent } from './dialogs/medicine-dialog/medicine-dialog.component';
     21import { PharmacyDialogComponent } from './dialogs/pharmacy-dialog/pharmacy-dialog.component';
     22import { FacilityDialogComponent } from './dialogs/facility-dialog/facility-dialog.component';
     23import { WorkerDialogComponent } from './dialogs/worker-dialog/worker-dialog.component';
     24import { EditPharmacyDialogComponent } from './dialogs/edit-pharmacy-dialog/edit-pharmacy-dialog.component';
     25import { EditPharmacyHeadDialogComponent } from './dialogs/edit-pharmacy-head-dialog/edit-pharmacy-head-dialog.component';
     26import { PharmacyHeadDialogComponent } from './nav-menu/dialogs/pharmacy-head-dialog/pharmacy-head-dialog.component';
    1827
    1928@NgModule({
     
    2635    AdminComponent,
    2736    DashboardComponent,
    28     LoginComponent
     37    LoginComponent,
     38    MedicineDialogComponent,
     39    PharmacyDialogComponent,
     40    FacilityDialogComponent,
     41    WorkerDialogComponent,
     42    EditPharmacyDialogComponent,
     43    EditPharmacyHeadDialogComponent,
     44    PharmacyHeadDialogComponent
    2945  ],
    3046  imports: [
     
    3854      { path: 'admin', component: AdminComponent },
    3955      { path: 'dashboard', component: DashboardComponent },
     56      { path: 'dashboard/:token', component: DashboardComponent },
    4057      { path: 'login', component: LoginComponent }
    4158    ]),
     
    4461    ReactiveFormsModule
    4562  ],
    46   providers: [],
     63  providers: [
     64    DataService
     65  ],
    4766  bootstrap: [AppComponent]
    4867})
Note: See TracChangeset for help on using the changeset viewer.