Fix redirect on logout #420

Merged
floatingghost merged 1 commit from Oneric/akkoma-fe:logout-redirect into develop 2024-10-26 03:42:23 +00:00
Showing only changes of commit 1ae09458c6 - Show all commits

View file

@ -69,7 +69,7 @@ const SettingsModal = {
this.$store.dispatch('closeSettingsModal')
},
logout () {
this.$router.replace('/main/public')
this.$router.replace(this.$store.state.instance.redirectRootNoLogin || '/main/all')
this.$store.dispatch('closeSettingsModal')
this.$store.dispatch('logout')
},