lint ✨
This commit is contained in:
parent
f70407b6eb
commit
5d46c572b8
|
@ -39,7 +39,8 @@
|
||||||
|
|
||||||
let panelDefinition = {}
|
let panelDefinition = {}
|
||||||
|
|
||||||
$: panelDefinition = componentPropDefinition.properties &&
|
$: panelDefinition =
|
||||||
|
componentPropDefinition.properties &&
|
||||||
componentPropDefinition.properties[selectedCategory.value]
|
componentPropDefinition.properties[selectedCategory.value]
|
||||||
|
|
||||||
const onStyleChanged = store.setComponentStyle
|
const onStyleChanged = store.setComponentStyle
|
||||||
|
@ -88,7 +89,7 @@
|
||||||
{panelDefinition}
|
{panelDefinition}
|
||||||
onChange={onPropChanged}
|
onChange={onPropChanged}
|
||||||
onScreenPropChange={store.setPageOrScreenProp}
|
onScreenPropChange={store.setPageOrScreenProp}
|
||||||
screenOrPageInstance={$store.currentView !== "component" && $store.currentPreviewItem} />
|
screenOrPageInstance={$store.currentView !== 'component' && $store.currentPreviewItem} />
|
||||||
{:else if selectedCategory.value === 'events'}
|
{:else if selectedCategory.value === 'events'}
|
||||||
<EventsEditor component={componentInstance} />
|
<EventsEditor component={componentInstance} />
|
||||||
{/if}
|
{/if}
|
||||||
|
|
|
@ -40,7 +40,6 @@
|
||||||
|
|
||||||
$: isPage = screenOrPageInstance && screenOrPageInstance.favicon
|
$: isPage = screenOrPageInstance && screenOrPageInstance.favicon
|
||||||
$: screenOrPageDefinition = isPage ? pageDefinition : screenDefinition
|
$: screenOrPageDefinition = isPage ? pageDefinition : screenDefinition
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#if screenOrPageInstance}
|
{#if screenOrPageInstance}
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
const { resolve } = require("path")
|
const { resolve } = require("path")
|
||||||
|
|
||||||
async function runServer() {
|
async function runServer() {
|
||||||
const budibaseDir = "~/.budibase";
|
const budibaseDir = "~/.budibase"
|
||||||
|
|
||||||
process.env.BUDIBASE_DIR = resolve(budibaseDir)
|
process.env.BUDIBASE_DIR = resolve(budibaseDir)
|
||||||
|
|
||||||
const server = await require("./app")();
|
const server = await require("./app")()
|
||||||
server.on("close", () => console.log("Server Closed"))
|
server.on("close", () => console.log("Server Closed"))
|
||||||
console.log(`Budibase running on ${JSON.stringify(server.address())}`)
|
console.log(`Budibase running on ${JSON.stringify(server.address())}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
runServer();
|
runServer()
|
||||||
|
|
Loading…
Reference in New Issue