Skip to content

Commit

Permalink
Fix reset workflow modal bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
varunbpatil committed Jun 10, 2024
1 parent 0108a57 commit 4caffea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
} finally {
loading = false;
}
hideResetModal();
};
</script>

Expand All @@ -75,7 +74,7 @@
{loading}
on:confirmModal={reset}
on:cancelModal={hideResetModal}
confirmDisabled={!eventId}
confirmDisabled={!$eventId}
>
<h3 slot="title">{translate('workflows.reset-modal-title')}</h3>
<svelte:fragment slot="content">
Expand Down
6 changes: 3 additions & 3 deletions src/lib/holocene/radio-input/radio-group.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
});
</script>

{#if description}
<p class="font-secondary text-sm font-medium">{description}</p>
{/if}
<div class={merge('flex flex-col gap-2 p-1', className)} {...$$restProps}>
{#if description}
<p class="font-secondary text-sm font-medium">{description}</p>
{/if}
<slot />
</div>

0 comments on commit 4caffea

Please sign in to comment.