mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 14:11:50 +00:00
Fix invalid redirect in GuildConfigEditor if guild was not found
This commit is contained in:
parent
c9a21c64bf
commit
289470126a
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@
|
||||||
async mounted() {
|
async mounted() {
|
||||||
await this.$store.dispatch("guilds/loadAvailableGuilds");
|
await this.$store.dispatch("guilds/loadAvailableGuilds");
|
||||||
if (this.guild == null) {
|
if (this.guild == null) {
|
||||||
this.$router.push('/dashboard/guilds');
|
this.$router.push('/dashboard');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue