fix js tests
This commit is contained in:
parent
362c515f33
commit
cbdc613177
|
@ -12,7 +12,7 @@ export default Discourse.Route.extend({
|
|||
} else {
|
||||
bootbox.alert(I18n.t("composer.cant_send_pm", {username: user.username}));
|
||||
}
|
||||
}).catch((error) => {
|
||||
}).catch(() => {
|
||||
bootbox.alert(I18n.t("generic_error"));
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue