Ignore:
Timestamp:
10/30/20 02:04:06 (4 years ago)
Author:
Mile Jankuloski <mile.jankuloski@…>
Branches:
master
Children:
1f4846d
Parents:
6f203af
Message:

Auth guards and services, refactored components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Farmatiko/ClientApp/src/app/admin/admin.component.ts

    r6f203af r993189e  
    1818  public heads: IPharmacyHead[] = [];
    1919  public requests: IPharmacyHeadRequest[] = [];
    20   public head: IPharmacyHead;
     20  public head: IPharmacyHead = {
     21    id: '',
     22    PharmacyMedicines: null,
     23    Pharmacy: null,
     24    Email: '',
     25    Passwd: '',
     26    Name: ''
     27  };
    2128
    2229  constructor(private dataService: DataService, private dialog: MatDialog, private snackBar: MatSnackBar, private router: Router) {
     
    5057        (err: any) => console.log(err),
    5158        () => console.log("PharmacyHead inserted"));
    52     this.head = null;
     59    this.head = {
     60      id: '',
     61      PharmacyMedicines: null,
     62      Pharmacy: null,
     63      Email: '',
     64      Passwd: '',
     65      Name: ''
     66    };
    5367  }
    5468
Note: See TracChangeset for help on using the changeset viewer.