Skip to content

Commit

Permalink
incr: switchoff node integration
Browse files Browse the repository at this point in the history
- fix prettier
  • Loading branch information
18alantom committed Jul 11, 2023
1 parent 92e8dfb commit df9b709
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class Main {
trafficLightPosition: { x: 16, y: 16 },
webPreferences: {
contextIsolation: true,
nodeIntegration: true,
nodeIntegration: false,
preload,
},
autoHideMenuBar: true,
Expand Down
4 changes: 2 additions & 2 deletions src/components/Controls/DynamicLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down
22 changes: 11 additions & 11 deletions src/pages/TemplateBuilder/TemplateBuilder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit df9b709

Please sign in to comment.