From da8d87c1f98bd5eda992f6ff1249d847b4c4e3a0 Mon Sep 17 00:00:00 2001 From: Alexander Zhukov Date: Tue, 16 May 2017 15:40:03 +0300 Subject: [PATCH] fix(framework): fix linting issues --- src/app/@theme/components/header/header.component.ts | 2 +- src/app/pages/maps/leaflet/leaflet.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/@theme/components/header/header.component.ts b/src/app/@theme/components/header/header.component.ts index 36eca182..a1750f3e 100644 --- a/src/app/@theme/components/header/header.component.ts +++ b/src/app/@theme/components/header/header.component.ts @@ -50,7 +50,7 @@ export class HeaderComponent { } switchTheme() { - if (this.themeService.currentTheme == 'light') { + if (this.themeService.currentTheme === 'light') { this.themeService.changeTheme('cosmic'); } else { this.themeService.changeTheme('light'); diff --git a/src/app/pages/maps/leaflet/leaflet.component.ts b/src/app/pages/maps/leaflet/leaflet.component.ts index 42b79f6a..62b48414 100644 --- a/src/app/pages/maps/leaflet/leaflet.component.ts +++ b/src/app/pages/maps/leaflet/leaflet.component.ts @@ -10,7 +10,7 @@ export class LeafletComponent { options = { layers: [ - L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 18, attribution: '...' }) + L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { maxZoom: 18, attribution: '...' }), ], zoom: 5, center: L.latLng({ lat: 38.991709, lng: -76.886109 }),