mirror of
https://github.com/frappe/books.git
synced 2024-11-08 14:50:56 +00:00
incr: switchoff node integration
- fix prettier
This commit is contained in:
parent
92e8dfb6d7
commit
df9b709db3
2
main.ts
2
main.ts
@ -93,7 +93,7 @@ export class Main {
|
||||
trafficLightPosition: { x: 16, y: 16 },
|
||||
webPreferences: {
|
||||
contextIsolation: true,
|
||||
nodeIntegration: true,
|
||||
nodeIntegration: false,
|
||||
preload,
|
||||
},
|
||||
autoHideMenuBar: true,
|
||||
|
@ -75,8 +75,8 @@ export default {
|
||||
},
|
||||
async openNewDoc() {
|
||||
const schemaName = this.getTargetSchemaName();
|
||||
if(!schemaName){
|
||||
return
|
||||
if (!schemaName) {
|
||||
return;
|
||||
}
|
||||
const name =
|
||||
this.linkValue || fyo.doc.getTemporaryName(fyo.schemaMap[schemaName]);
|
||||
|
@ -235,21 +235,21 @@ import { shortcutsKey } from 'src/utils/injectionKeys';
|
||||
import { showDialog, showToast } from 'src/utils/interactive';
|
||||
import { docsPathMap } from 'src/utils/misc';
|
||||
import {
|
||||
PrintTemplateHint,
|
||||
baseTemplate,
|
||||
getPrintTemplatePropHints,
|
||||
getPrintTemplatePropValues,
|
||||
PrintTemplateHint,
|
||||
baseTemplate,
|
||||
getPrintTemplatePropHints,
|
||||
getPrintTemplatePropValues,
|
||||
} from 'src/utils/printTemplates';
|
||||
import { docsPathRef, showSidebar } from 'src/utils/refs';
|
||||
import { DocRef, PrintValues } from 'src/utils/types';
|
||||
import {
|
||||
ShortcutKey,
|
||||
focusOrSelectFormControl,
|
||||
getActionsForDoc,
|
||||
getDocFromNameIfExistsElseNew,
|
||||
getSavePath,
|
||||
openSettings,
|
||||
selectTextFile,
|
||||
ShortcutKey,
|
||||
focusOrSelectFormControl,
|
||||
getActionsForDoc,
|
||||
getDocFromNameIfExistsElseNew,
|
||||
getSavePath,
|
||||
openSettings,
|
||||
selectTextFile,
|
||||
} from 'src/utils/ui';
|
||||
import { useDocShortcuts } from 'src/utils/vueUtils';
|
||||
import { getMapFromList } from 'utils/index';
|
||||
|
Loading…
Reference in New Issue
Block a user