fix: show errors when user delete fails

v1.18.x
Barış Soner Uşaklı 4 years ago
parent dd9ed23631
commit ff2aa17bbc

@ -45,6 +45,8 @@ define('accounts/delete', ['api', 'bootbox'], function (api) {
if (typeof callback === 'function') {
return callback();
}
}).catch(function (err) {
app.alertError(err);
});
});
}

Loading…
Cancel
Save