Skip to content

Commit

Permalink
#1433 Fix observable type deletion workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Jul 15, 2020
1 parent 6439769 commit d8d9a3f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@
flavor: 'danger',
isHtml: true
})
.then(ObservableTypeSrv.remove(type._id))
.then(function() {
return ObservableTypeSrv.remove(type._id);
})
.then(function(/*response*/) {
NotificationSrv.log('Observable type removed successfully', 'success');
self.load();
Expand Down

0 comments on commit d8d9a3f

Please sign in to comment.