lP#1863252: (follow-up) fix Angular lint
authorGalen Charlton <gmc@equinoxinitiative.org>
Mon, 15 Mar 2021 15:00:23 +0000 (11:00 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 15 Mar 2021 15:00:23 +0000 (11:00 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/admin/server/org-addr.component.ts

index 4156ba2..766a0b7 100644 (file)
@@ -177,8 +177,8 @@ export class OrgAddressComponent {
             + ' ' + addr.country()
         ).subscribe(
             (res) => {
-                console.log('geo',res);
-                if (typeof res.ilsevent == 'undefined') {
+                console.log('geo', res);
+                if (typeof res.ilsevent === 'undefined') {
                     addr.latitude( res.latitude );
                     addr.longitude( res.longitude );
                 } else {
@@ -186,7 +186,7 @@ export class OrgAddressComponent {
                 }
             },
             (err) => {
-                console.error('geo',err);
+                console.error('geo', err);
             }
         );
     }