Skip to content
Snippets Groups Projects
Commit e9b5f44c authored by Piotr Gawron's avatar Piotr Gawron
Browse files

rejection is restoring allowing hide/show state properly

parent e07fc4f6
No related branches found
No related tags found
1 merge request!34Resolve "when highligting element that doesn't exist throw an error"
......@@ -175,6 +175,9 @@ UserDbOverlay.prototype.removeSurface = function(params) {
fitBounds : false,
identifiedElements : elements,
});
}).then(null, function(error) {
self.enableAddRemoveElements();
return Promise.reject(error);
});
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment