Skip to content

Commit

Permalink
fix: Refresh page when server type cannot be determined
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
realashleybailey committed Sep 12, 2023
1 parent 9b5cb16 commit 0d412af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/Forms/InviteForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0d412af

Please sign in to comment.