mirror of
https://github.com/frappe/books.git
synced 2024-11-10 15:50:56 +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 Desk from './pages/Desk';
|
||||||
import SetupWizard from './pages/SetupWizard/SetupWizard';
|
import SetupWizard from './pages/SetupWizard/SetupWizard';
|
||||||
import DatabaseSelector from './pages/DatabaseSelector';
|
import DatabaseSelector from './pages/DatabaseSelector';
|
||||||
import Settings from '@/pages/Settings.vue';
|
import Settings from '@/pages/Settings/Settings.vue';
|
||||||
import { remote } from 'electron';
|
import { remote } from 'electron';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@ -68,7 +68,7 @@ export default {
|
|||||||
});
|
});
|
||||||
|
|
||||||
frappe.events.on('show-desk', () => {
|
frappe.events.on('show-desk', () => {
|
||||||
if (this.$route.path === '/settings') {
|
if (this.$route.path.startsWith('/settings')) {
|
||||||
this.showSettings = true;
|
this.showSettings = true;
|
||||||
} else {
|
} else {
|
||||||
this.showDesk = true;
|
this.showDesk = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user