diff --git a/src/sidebarConfig.js b/src/sidebarConfig.js index ea9c3a25..3f47bd5c 100644 --- a/src/sidebarConfig.js +++ b/src/sidebarConfig.js @@ -1,26 +1,11 @@ import frappe from 'frappejs'; import { _ } from 'frappejs/utils'; -import DatabaseSelector from './components/DatabaseSelector'; export default { async getTitle() { const accountingSettings = await frappe.getSingle('AccountingSettings'); return accountingSettings.companyName; }, - onTitleClick(vm) { - vm.$modal.show({ - component: DatabaseSelector, - modalProps: { - title: _('Change Database File'), - primaryAction: { - label: _('Submit'), - handler: (vm) => { - vm.changeDatabase(); - } - } - } - }); - }, groups: [ { items: [