diff --git a/packages/builder/src/pages/builder/app/[application]/design/_components/NewScreen/CreateScreenModal.svelte b/packages/builder/src/pages/builder/app/[application]/design/_components/NewScreen/CreateScreenModal.svelte index 7d1e05a0bb7..92ed3dcfc75 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/_components/NewScreen/CreateScreenModal.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/_components/NewScreen/CreateScreenModal.svelte @@ -12,7 +12,7 @@ import { capitalise } from "helpers" import { goto } from "@roxi/routify" - let mode; + let mode let pendingScreen // Modal refs @@ -101,8 +101,8 @@ } // Handler for NewScreenModal - export const show = (newMode) => { - mode = newMode; + export const show = newMode => { + mode = newMode selectedTemplates = null blankScreenUrl = null screenMode = mode @@ -125,7 +125,7 @@ // Handler for DatasourceModal confirmation, move to screen access select const confirmScreenDatasources = async ({ templates }) => { - console.log(templates); + console.log(templates) selectedTemplates = templates screenAccessRoleModal.show() } diff --git a/packages/builder/src/pages/builder/app/[application]/design/_components/NewScreen/DatasourceModal.svelte b/packages/builder/src/pages/builder/app/[application]/design/_components/NewScreen/DatasourceModal.svelte index 98328d4056c..731c60a406f 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/_components/NewScreen/DatasourceModal.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/_components/NewScreen/DatasourceModal.svelte @@ -7,7 +7,7 @@ import rowListScreen from "builderStore/store/screenTemplates/rowListScreen" import DatasourceTemplateRow from "./DatasourceTemplateRow.svelte" - export let mode; + export let mode export let onCancel export let onConfirm export let initialScreens = [] @@ -25,7 +25,10 @@ screen => screen.resourceId !== resourceId ) } else { - selectedScreens = [...selectedScreens, rowListScreen([datasource], mode)[0]] + selectedScreens = [ + ...selectedScreens, + rowListScreen([datasource], mode)[0], + ] } }