Bugfixes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
exports.__esModule = true;
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
module.exports = function (ActionAPI) {
|
||||
ActionAPI.handle(function (properties, status) {
|
||||
var connectionID = properties.connectionID != undefined ? properties.connectionID : 'none';
|
||||
@@ -11,7 +11,8 @@ module.exports = function (ActionAPI) {
|
||||
.clearLayer(layerID)
|
||||
.then(function () {
|
||||
status('Shot has been published', 'info');
|
||||
})["catch"](function (error) {
|
||||
})
|
||||
.catch(function (error) {
|
||||
status(error, 'error');
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user