From 289470126a6123eb2a37efa89298f66375cf3293 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Fri, 8 Nov 2019 00:05:01 +0200 Subject: [PATCH] Fix invalid redirect in GuildConfigEditor if guild was not found --- dashboard/src/components/dashboard/GuildConfigEditor.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/src/components/dashboard/GuildConfigEditor.vue b/dashboard/src/components/dashboard/GuildConfigEditor.vue index 008342f4..2e282877 100644 --- a/dashboard/src/components/dashboard/GuildConfigEditor.vue +++ b/dashboard/src/components/dashboard/GuildConfigEditor.vue @@ -36,7 +36,7 @@ async mounted() { await this.$store.dispatch("guilds/loadAvailableGuilds"); if (this.guild == null) { - this.$router.push('/dashboard/guilds'); + this.$router.push('/dashboard'); return; }