17 lines
400 B
TypeScript
17 lines
400 B
TypeScript
import { Component } from '@angular/core';
|
|
|
|
import { DataService } from '@services/data.service';
|
|
|
|
@Component({
|
|
selector: 'app-symptoms',
|
|
standalone: false,
|
|
templateUrl: './symptoms.component.html',
|
|
styleUrl: './symptoms.component.css'
|
|
})
|
|
export class SymptomsComponent {
|
|
constructor(private dataService: DataService) {}
|
|
|
|
get symptoms() {
|
|
return this.dataService.getSymptoms();
|
|
}
|
|
}
|