Default weather info
This commit is contained in:
parent
5324ec76cf
commit
3418f20373
@ -12,7 +12,7 @@ export class WeatherService {
|
|||||||
locationKey: string;
|
locationKey: string;
|
||||||
metric = true;
|
metric = true;
|
||||||
sub: Subscription;
|
sub: Subscription;
|
||||||
weather: Weather[];
|
weather: Weather[] = [];
|
||||||
|
|
||||||
get icon() {
|
get icon() {
|
||||||
if(!this.weather.length) return '';
|
if(!this.weather.length) return '';
|
||||||
|
Loading…
Reference in New Issue
Block a user