Lint fixes
This commit is contained in:
parent
13f6fed101
commit
ef6f8e2abf
|
@ -22,10 +22,7 @@ import { TableNames } from "../constants"
|
||||||
import { JSONUtils } from "@budibase/frontend-core"
|
import { JSONUtils } from "@budibase/frontend-core"
|
||||||
import ActionDefinitions from "components/design/settings/controls/ButtonActionEditor/manifest.json"
|
import ActionDefinitions from "components/design/settings/controls/ButtonActionEditor/manifest.json"
|
||||||
import { environment, licensing } from "stores/portal"
|
import { environment, licensing } from "stores/portal"
|
||||||
import {
|
import { convertOldFieldFormat } from "components/design/settings/controls/FieldConfiguration/utils"
|
||||||
convertOldFieldFormat,
|
|
||||||
getComponentForField,
|
|
||||||
} from "components/design/settings/controls/FieldConfiguration/utils"
|
|
||||||
|
|
||||||
// Regex to match all instances of template strings
|
// Regex to match all instances of template strings
|
||||||
const CAPTURE_VAR_INSIDE_TEMPLATE = /{{([^}]+)}}/g
|
const CAPTURE_VAR_INSIDE_TEMPLATE = /{{([^}]+)}}/g
|
||||||
|
|
|
@ -129,7 +129,7 @@
|
||||||
on:drawerShow={e => {
|
on:drawerShow={e => {
|
||||||
drawers = [...drawers, e.detail]
|
drawers = [...drawers, e.detail]
|
||||||
}}
|
}}
|
||||||
on:drawerHide={e => {
|
on:drawerHide={() => {
|
||||||
drawers = drawers.slice(0, -1)
|
drawers = drawers.slice(0, -1)
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -12,11 +12,13 @@
|
||||||
<Icon name={icon} />
|
<Icon name={icon} />
|
||||||
{title || ""}
|
{title || ""}
|
||||||
</div>
|
</div>
|
||||||
|
<!-- eslint-disable-next-line svelte/no-at-html-tags -->
|
||||||
{@html body}
|
{@html body}
|
||||||
{:else}
|
{:else}
|
||||||
<span class="icon">
|
<span class="icon">
|
||||||
<Icon name={icon} />
|
<Icon name={icon} />
|
||||||
</span>
|
</span>
|
||||||
|
<!-- eslint-disable-next-line svelte/no-at-html-tags -->
|
||||||
{@html body}
|
{@html body}
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue