2
0
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:
18alantom 2023-07-11 10:08:21 +05:30
parent 92e8dfb6d7
commit df9b709db3
3 changed files with 14 additions and 14 deletions

View File

@ -93,7 +93,7 @@ export class Main {
trafficLightPosition: { x: 16, y: 16 },
webPreferences: {
contextIsolation: true,
nodeIntegration: true,
nodeIntegration: false,
preload,
},
autoHideMenuBar: true,

View File

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

View File

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