Commits
Nicolai Olsen authored ca5ba83d210
1 1 | import {Component, Input, OnInit} from '@angular/core'; |
2 - | import {Activity, Observation, ObservationType} from 'facade-api'; |
2 + | import {Observation, ObservationType} from '@nspop/gm-web-facade-api'; |
3 + | import {ObservationTypeEnum} from '../../../../utils/enums'; |
3 4 | |
4 5 | @Component({ |
5 6 | selector: 'app-fetus-related-measurements', |
6 7 | templateUrl: './fetus-related-measurements.component.html', |
7 8 | styleUrls: ['./fetus-related-measurements.component.scss'] |
8 9 | }) |
9 10 | export class FetusRelatedMeasurementsComponent implements OnInit { |
10 - | public ObservationType = ObservationType; // Exposed here so we can use actual enum in the html template |
11 + | public ObservationType = ObservationTypeEnum; // Exposed here so we can use actual enum in the html template |
11 12 | |
12 13 | @Input() public fetusName: string | undefined; |
13 14 | @Input() public observations: Observation[] |undefined; |
14 15 | |
15 16 | |
16 17 | constructor() { } |
17 18 | |
18 19 | ngOnInit(): void { |
19 20 | } |
20 21 | |