mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
fix: Settings import
This commit is contained in:
parent
5deefced25
commit
9ea172784c
@ -13,7 +13,7 @@ import frappe from 'frappejs';
|
||||
import Desk from './pages/Desk';
|
||||
import SetupWizard from './pages/SetupWizard/SetupWizard';
|
||||
import DatabaseSelector from './pages/DatabaseSelector';
|
||||
import Settings from '@/pages/Settings.vue';
|
||||
import Settings from '@/pages/Settings/Settings.vue';
|
||||
import { remote } from 'electron';
|
||||
|
||||
export default {
|
||||
@ -68,7 +68,7 @@ export default {
|
||||
});
|
||||
|
||||
frappe.events.on('show-desk', () => {
|
||||
if (this.$route.path === '/settings') {
|
||||
if (this.$route.path.startsWith('/settings')) {
|
||||
this.showSettings = true;
|
||||
} else {
|
||||
this.showDesk = true;
|
||||
|
Loading…
Reference in New Issue
Block a user