Browse Source

lengthen the error timeout when the message may be complicated, eg. with details from the server

pull/139/head
Trent Larson 2 days ago
parent
commit
1e0efe6011
  1. 6
      src/views/ContactsView.vue

6
src/views/ContactsView.vue

@ -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,
); );
} }
} }

Loading…
Cancel
Save