1
0
Fork 0
mirror of synced 2024-07-04 22:11:23 +12:00

Lint fixes

This commit is contained in:
Dean 2023-08-25 15:14:49 +01:00
parent 13f6fed101
commit ef6f8e2abf
3 changed files with 4 additions and 5 deletions

View file

@ -22,10 +22,7 @@ import { TableNames } from "../constants"
import { JSONUtils } from "@budibase/frontend-core"
import ActionDefinitions from "components/design/settings/controls/ButtonActionEditor/manifest.json"
import { environment, licensing } from "stores/portal"
import {
convertOldFieldFormat,
getComponentForField,
} from "components/design/settings/controls/FieldConfiguration/utils"
import { convertOldFieldFormat } from "components/design/settings/controls/FieldConfiguration/utils"
// Regex to match all instances of template strings
const CAPTURE_VAR_INSIDE_TEMPLATE = /{{([^}]+)}}/g

View file

@ -129,7 +129,7 @@
on:drawerShow={e => {
drawers = [...drawers, e.detail]
}}
on:drawerHide={e => {
on:drawerHide={() => {
drawers = drawers.slice(0, -1)
}}
/>

View file

@ -12,11 +12,13 @@
<Icon name={icon} />
{title || ""}
</div>
<!-- eslint-disable-next-line svelte/no-at-html-tags -->
{@html body}
{:else}
<span class="icon">
<Icon name={icon} />
</span>
<!-- eslint-disable-next-line svelte/no-at-html-tags -->
{@html body}
{/if}
</div>