Linting.
This commit is contained in:
parent
4ed611fb73
commit
87e846054b
|
@ -1,7 +1,7 @@
|
||||||
import { cloneDeep } from "lodash/fp"
|
import { cloneDeep } from "lodash/fp"
|
||||||
import { get } from "svelte/store"
|
import { get } from "svelte/store"
|
||||||
import { findComponent, findComponentPath } from "./storeUtils"
|
import { findComponent, findComponentPath } from "./storeUtils"
|
||||||
import {currentAssetId, store} from "builderStore"
|
import { store } from "builderStore"
|
||||||
import { tables as tablesStore, queries as queriesStores } from "stores/backend"
|
import { tables as tablesStore, queries as queriesStores } from "stores/backend"
|
||||||
import { makePropSafe } from "@budibase/string-templates"
|
import { makePropSafe } from "@budibase/string-templates"
|
||||||
import { TableNames } from "../constants"
|
import { TableNames } from "../constants"
|
||||||
|
|
|
@ -70,7 +70,8 @@
|
||||||
field.subtype !== AUTO_COLUMN_SUB_TYPES.CREATED_BY &&
|
field.subtype !== AUTO_COLUMN_SUB_TYPES.CREATED_BY &&
|
||||||
field.subtype !== AUTO_COLUMN_SUB_TYPES.UPDATED_BY &&
|
field.subtype !== AUTO_COLUMN_SUB_TYPES.UPDATED_BY &&
|
||||||
field.type !== FORMULA_TYPE
|
field.type !== FORMULA_TYPE
|
||||||
$: canBeDisplay = field.type !== LINK_TYPE &&
|
$: canBeDisplay =
|
||||||
|
field.type !== LINK_TYPE &&
|
||||||
field.type !== AUTO_TYPE &&
|
field.type !== AUTO_TYPE &&
|
||||||
field.type !== FORMULA_TYPE
|
field.type !== FORMULA_TYPE
|
||||||
$: canBeRequired =
|
$: canBeRequired =
|
||||||
|
@ -298,7 +299,7 @@
|
||||||
value={field.formula}
|
value={field.formula}
|
||||||
on:change={e => (field.formula = e.detail)}
|
on:change={e => (field.formula = e.detail)}
|
||||||
bindings={getBindings({ table })}
|
bindings={getBindings({ table })}
|
||||||
serverSide=true />
|
serverSide="true" />
|
||||||
{:else if field.type === AUTO_TYPE}
|
{:else if field.type === AUTO_TYPE}
|
||||||
<Select label="Auto Column Type" thin secondary bind:value={field.subtype}>
|
<Select label="Auto Column Type" thin secondary bind:value={field.subtype}>
|
||||||
<option value="">Choose a subtype</option>
|
<option value="">Choose a subtype</option>
|
||||||
|
|
|
@ -45,10 +45,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<Modal bind:this={bindingModal} width="50%">
|
<Modal bind:this={bindingModal} width="50%">
|
||||||
<ModalContent
|
<ModalContent {title} onConfirm={saveBinding} bind:disabled={invalid}>
|
||||||
{title}
|
|
||||||
onConfirm={saveBinding}
|
|
||||||
bind:disabled={invalid}>
|
|
||||||
<Body extraSmall grey>
|
<Body extraSmall grey>
|
||||||
Add the objects on the left to enrich your text.
|
Add the objects on the left to enrich your text.
|
||||||
</Body>
|
</Body>
|
||||||
|
@ -56,7 +53,7 @@
|
||||||
this={panel}
|
this={panel}
|
||||||
serverSide
|
serverSide
|
||||||
value={readableValue}
|
value={readableValue}
|
||||||
bind:validity={validity}
|
bind:validity
|
||||||
on:update={event => (tempValue = event.detail)}
|
on:update={event => (tempValue = event.detail)}
|
||||||
bindableProperties={bindings} />
|
bindableProperties={bindings} />
|
||||||
</ModalContent>
|
</ModalContent>
|
||||||
|
|
Loading…
Reference in New Issue