From e69ead96ac0503bf1c67c603399b8914ac6d23f2 Mon Sep 17 00:00:00 2001 From: Nathan Franklin Date: Mon, 29 Mar 2021 20:39:27 -0500 Subject: [PATCH] Fix linting --- src/app/components/layers-panel/layers-panel.component.ts | 2 +- src/app/services/geo-data.service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/components/layers-panel/layers-panel.component.ts b/src/app/components/layers-panel/layers-panel.component.ts index 4c3719f6..c1e3235f 100644 --- a/src/app/components/layers-panel/layers-panel.component.ts +++ b/src/app/components/layers-panel/layers-panel.component.ts @@ -115,7 +115,7 @@ export class LayersPanelComponent implements OnInit, OnDestroy { this.showInput(ts, false); name = name.trim(); if (name.length < 512) { - if (name && name != ts.name) { + if (name && name !== ts.name) { ts.name = name; this.geoDataService.updateTileServer(this.activeProject.id, ts); } diff --git a/src/app/services/geo-data.service.ts b/src/app/services/geo-data.service.ts index eb4c6b4c..fb308b8a 100644 --- a/src/app/services/geo-data.service.ts +++ b/src/app/services/geo-data.service.ts @@ -333,7 +333,7 @@ export class GeoDataService { take(1), map((tss: Array) => tss.map((ts: TileServer) => - ts.id == tileServer.id ? tileServer : ts)), + ts.id === tileServer.id ? tileServer : ts)), ).subscribe((results) => { this._tileServers.next(results); this._dirtyTileOptions.next(true);