Skip to content

Commit

Permalink
fix: show errors when user delete fails
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Dec 9, 2020
1 parent dd9ed23 commit ff2aa17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public/src/modules/accounts/delete.js
Expand Up @@ -45,6 +45,8 @@ define('accounts/delete', ['api', 'bootbox'], function (api) {
if (typeof callback === 'function') {
return callback();
}
}).catch(function (err) {
app.alertError(err);
});
});
}
Expand Down

0 comments on commit ff2aa17

Please sign in to comment.