diff --git a/src/App.vue b/src/App.vue index e2db1396..b110f398 100644 --- a/src/App.vue +++ b/src/App.vue @@ -10,11 +10,11 @@ @@ -78,7 +78,7 @@ export default { } }, methods: { - showSetupWizardOrDesk() { + showSetupWizardOrDesk(resetRoute = false) { const { setupComplete } = frappe.AccountingSettings; if (!setupComplete) { this.activeScreen = 'SetupWizard'; @@ -88,6 +88,9 @@ export default { this.activeScreen = 'Desk'; this.checkForUpdates(); } + if (resetRoute) { + this.$router.replace('/'); + } }, reloadMainWindowOnSettingsClose() { if (this.activeScreen === 'Settings') {