Skip to content
Snippets Groups Projects
Commit 3269651d authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Bugfix in Sync

Fixed error when after sync trying to call update functions in
potentially not initialized components
parent 8f1406aa
No related branches found
No related tags found
No related merge requests found
...@@ -604,7 +604,10 @@ export default { ...@@ -604,7 +604,10 @@ export default {
} }
// Update the POI list after sync // Update the POI list after sync
this.$root.sharedState.placesListComponent.getPOIListFromStore(); if(this.$root.sharedState.placesListComponent != undefined)
{
this.$root.sharedState.placesListComponent.getPOIListFromStore();
}
}) })
}, },
...@@ -1007,7 +1010,10 @@ export default { ...@@ -1007,7 +1010,10 @@ export default {
} }
}); });
// Update the data model for the observation list. // Update the data model for the observation list.
this.$root.sharedState.observationListComponent.getObservationsFromStore(); if(this.$root.sharedState.observationListComponent != undefined)
{
this.$root.sharedState.observationListComponent.getObservationsFromStore();
}
}) })
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment