Use InfoDisplay instead of InlineAlert for row action triggers

This commit is contained in:
Andrew Kingston 2024-10-31 15:42:04 +00:00
parent 79970ae07d
commit 96ca6e6cc2
No known key found for this signature in database
1 changed files with 5 additions and 4 deletions

View File

@ -13,7 +13,6 @@
Modal,
Label,
AbsTooltip,
InlineAlert,
} from "@budibase/bbui"
import { sdk } from "@budibase/shared-core"
import AutomationBlockSetup from "../../SetupPanel/AutomationBlockSetup.svelte"
@ -26,6 +25,7 @@
import DragHandle from "components/design/settings/controls/DraggableList/drag-handle.svelte"
import { getContext } from "svelte"
import DragZone from "./DragZone.svelte"
import InfoDisplay from "pages/builder/app/[application]/design/[screenId]/[componentId]/_components/Component/InfoDisplay.svelte"
export let block
export let blockRef
@ -321,9 +321,10 @@
{bindings}
/>
{#if isTrigger && triggerInfo}
<InlineAlert
header={triggerInfo.title}
message={`This trigger is tied to your "${triggerInfo.tableName}" table`}
<InfoDisplay
title={triggerInfo.title}
body="This trigger is tied to your '{triggerInfo.tableName}' table"
icon="InfoOutline"
/>
{/if}
</Layout>