lengthen the error timeout when the message may be complicated, eg. with details from the server
This commit is contained in:
@@ -617,7 +617,7 @@ export default class ContactsView extends Vue {
|
|||||||
title: "Error with Invite",
|
title: "Error with Invite",
|
||||||
text: message,
|
text: message,
|
||||||
},
|
},
|
||||||
5000,
|
-1,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
// if we're here, they haven't redirected anywhere, so we'll redirect here without a query parameter
|
// if we're here, they haven't redirected anywhere, so we'll redirect here without a query parameter
|
||||||
@@ -1122,7 +1122,7 @@ export default class ContactsView extends Vue {
|
|||||||
(regResult.error as string) ||
|
(regResult.error as string) ||
|
||||||
"Something went wrong during registration.",
|
"Something went wrong during registration.",
|
||||||
},
|
},
|
||||||
5000,
|
-1,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@@ -1156,7 +1156,7 @@ export default class ContactsView extends Vue {
|
|||||||
title: "Registration Error",
|
title: "Registration Error",
|
||||||
text: userMessage,
|
text: userMessage,
|
||||||
},
|
},
|
||||||
5000,
|
-1,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user