diff --git a/src/routes/builder/EditModal.svelte b/src/routes/builder/EditModal.svelte index 2e54142..2720453 100644 --- a/src/routes/builder/EditModal.svelte +++ b/src/routes/builder/EditModal.svelte @@ -133,10 +133,10 @@ class="btn variant-filled" on:click={() => (action = { - textValue: undefined, + textValue: '(Edit Text)', event: { type: EventType.View, - data: undefined + data: '' } })}> Add Action diff --git a/src/routes/builder/Grid.svelte b/src/routes/builder/Grid.svelte index 0f8664b..63c2f41 100644 --- a/src/routes/builder/Grid.svelte +++ b/src/routes/builder/Grid.svelte @@ -128,7 +128,7 @@ {#each item.data.actions as action} {#if action} {action.textValue} {#if action.event}