2
0
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:
Faris Ansari 2019-11-19 23:20:00 +05:30
parent 5deefced25
commit 9ea172784c

View File

@ -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;