Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghrehh committed Oct 25, 2023
1 parent 55623bc commit 4141c31
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import { capitalise } from "helpers"
import { goto } from "@roxi/routify"
let mode;
let mode
let pendingScreen
// Modal refs
Expand Down Expand Up @@ -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
Expand All @@ -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()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand All @@ -25,7 +25,10 @@
screen => screen.resourceId !== resourceId
)
} else {
selectedScreens = [...selectedScreens, rowListScreen([datasource], mode)[0]]
selectedScreens = [
...selectedScreens,
rowListScreen([datasource], mode)[0],
]
}
}
Expand Down

0 comments on commit 4141c31

Please sign in to comment.