fix issue with blocks not being toggled

This commit is contained in:
Peter Clement 2022-05-10 10:51:48 +01:00
parent 92ac1bb6d1
commit d78f170d68
3 changed files with 2 additions and 3 deletions

View File

@ -14,7 +14,6 @@
} from "@budibase/bbui"
export let automation
let testDataModal
let blocks
let confirmDeleteDialog

View File

@ -28,7 +28,7 @@
<div
on:click={() => {
blockComplete = !blockComplete
showParameters = { complete: !showParameters?.complete, id: block.id }
showParameters[block.id] = blockComplete
}}
class="splitHeader"
>

View File

@ -52,7 +52,7 @@
<div class="block">
{#if block.stepId !== "LOOP"}
<FlowItemTitle showTestStatus={true} bind:showParameters {block} />
{#if showParameters?.complete && block?.id === showParameters?.id}
{#if showParameters && showParameters[block.id]}
<Divider noMargin />
<div class="tabs">