Revert "Replace generic console.error handlers with window.cloudron.onError"
This reverts commit 7db5a48e35.
This commit is contained in:
@@ -22,7 +22,7 @@ const busy = ref(false);
|
||||
|
||||
async function onSendInvite() {
|
||||
const [error] = await usersModel.sendInviteEmail(user.value.id, email.value);
|
||||
if (error) return window.cloudron.onError(error);
|
||||
if (error) return console.error(error);
|
||||
|
||||
window.pankow.notify({ type: 'success', text: t('users.invitationNotification.body', { email: email.value })});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user