Skip to content

Commit

Permalink
Next: Fixed a bug with dialog state being preserved (defect already l…
Browse files Browse the repository at this point in the history
…ogged with super forms)
  • Loading branch information
niemyjski committed Dec 28, 2024
1 parent 9239500 commit 5e02d24
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,12 @@
</DropdownMenu.Content>
</DropdownMenu.Root>

<AddStackReferenceDialog bind:open={openAddStackReferenceDialog} save={addReference} />
<RemoveStackDialog bind:open={openRemoveStackDialog} {remove} />
<RequiresPromotedWebHookDialog bind:open={openRequiresPromotedWebHookDialog} navigate={navigateToProjectIntegrations} />
{#if openAddStackReferenceDialog}
<AddStackReferenceDialog bind:open={openAddStackReferenceDialog} save={addReference} />
{/if}
{#if openRemoveStackDialog}
<RemoveStackDialog bind:open={openRemoveStackDialog} {remove} />
{/if}
{#if openRequiresPromotedWebHookDialog}
<RequiresPromotedWebHookDialog bind:open={openRequiresPromotedWebHookDialog} navigate={navigateToProjectIntegrations} />
{/if}
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,6 @@
</ul>
{/if}

<RemoveStackReferenceDialog bind:open={openRemoveStackReferenceDialog} reference={referenceToRemove} remove={removeReference} />
{#if openRemoveStackReferenceDialog}
<RemoveStackReferenceDialog bind:open={openRemoveStackReferenceDialog} reference={referenceToRemove} remove={removeReference} />
{/if}
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,9 @@
</DropdownMenu.Content>
</DropdownMenu.Root>

<MarkStackDiscardedDialog bind:open={openMarkStackDiscardedDialog} discard={markDiscarded} />
<MarkStackFixedInVersionDialog bind:open={openMarkStackFixedInVersionDialog} save={markFixed} />
{#if openMarkStackDiscardedDialog}
<MarkStackDiscardedDialog bind:open={openMarkStackDiscardedDialog} discard={markDiscarded} />
{/if}
{#if openMarkStackFixedInVersionDialog}
<MarkStackFixedInVersionDialog bind:open={openMarkStackFixedInVersionDialog} save={markFixed} />
{/if}

0 comments on commit 5e02d24

Please sign in to comment.