1
0
Fork 0
mirror of synced 2024-10-04 03:54:37 +13: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 { 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

View file

@ -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)
}} }}
/> />

View file

@ -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>