From 0d412af4a8de8d5fe2ff355981dfc5de6318e1b6 Mon Sep 17 00:00:00 2001 From: Ashley Date: Tue, 12 Sep 2023 22:07:35 +0100 Subject: [PATCH] fix: Refresh page when server type cannot be determined The commit fixes the issue where the page would not refresh when the server type could not be determined. Now, an error message is displayed to the user and they are instructed to refresh the page. --- frontend/src/components/Forms/InviteForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Forms/InviteForm.vue b/frontend/src/components/Forms/InviteForm.vue index a08dfcaad..303ff565d 100644 --- a/frontend/src/components/Forms/InviteForm.vue +++ b/frontend/src/components/Forms/InviteForm.vue @@ -267,7 +267,7 @@ export default defineComponent({ handler(server_type) { if (!server_type) { this.disabled = true; - this.$toast.error("Could not determine your server type", { + this.$toast.error("Could not determine your server type, try refreshing the page.", { closeOnClick: false, draggable: false, timeout: false,