Commit d4461b15 authored by Mark Harding's avatar Mark Harding

(fix): if no markers, do not iterate

No related merge requests found
Pipeline #78054222 running with stages
......@@ -53,6 +53,8 @@ export class UpdateMarkersService {
if (this.isLoggedIn) {
this.get()
.subscribe((markers: any) => {
if (!markers)
return;
this.data = markers; //cache
for (let i in this.data) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment