Ignore:
Timestamp:
02/01/21 00:15:12 (23 months ago)
Author:
Mile Jankuloski <mile.jankuloski@…>
Branches:
master
Children:
afefe75
Parents:
28d7d35
Message:

Patch bugs, minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Farmatiko/ClientApp/src/app/dialogs/facility-dialog/facility-dialog.component.ts

    r28d7d35 rde9d697  
    4141              iconUrl: 'assets/hospital-icon.png'
    4242            })
    43           }).bindPopup("Аптека: "+this.facility?.name);
     43          }).bindPopup(this.facility?.name);
    4444          this.options.layers.push(layer);
    4545          this.options.center = latLng(obj[0]?.lat, obj[0]?.lon);
    4646          this.options.zoom = 13;
    4747        }
    48       }, error => console.error(error));
    49       this.mapShown = false;
    50       setTimeout(() => this.mapShown = true, 300);
     48      }, error => console.error(error),
     49      () => {
     50        this.mapShown = false;
     51        setTimeout(() => this.mapShown = true, 300);
     52      });
    5153  }
    52 
    5354
    5455  close() {
Note: See TracChangeset for help on using the changeset viewer.