fix issue with blocks not being toggled
This commit is contained in:
parent
abd78079d1
commit
80d7a26798
|
@ -14,7 +14,6 @@
|
||||||
} from "@budibase/bbui"
|
} from "@budibase/bbui"
|
||||||
|
|
||||||
export let automation
|
export let automation
|
||||||
|
|
||||||
let testDataModal
|
let testDataModal
|
||||||
let blocks
|
let blocks
|
||||||
let confirmDeleteDialog
|
let confirmDeleteDialog
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
<div
|
<div
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
blockComplete = !blockComplete
|
blockComplete = !blockComplete
|
||||||
showParameters = { complete: !showParameters?.complete, id: block.id }
|
showParameters[block.id] = blockComplete
|
||||||
}}
|
}}
|
||||||
class="splitHeader"
|
class="splitHeader"
|
||||||
>
|
>
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
<div class="block">
|
<div class="block">
|
||||||
{#if block.stepId !== "LOOP"}
|
{#if block.stepId !== "LOOP"}
|
||||||
<FlowItemTitle showTestStatus={true} bind:showParameters {block} />
|
<FlowItemTitle showTestStatus={true} bind:showParameters {block} />
|
||||||
{#if showParameters?.complete && block?.id === showParameters?.id}
|
{#if showParameters && showParameters[block.id]}
|
||||||
<Divider noMargin />
|
<Divider noMargin />
|
||||||
|
|
||||||
<div class="tabs">
|
<div class="tabs">
|
||||||
|
|
Loading…
Reference in New Issue