Skip to content

Commit

Permalink
fix: previous stage not show on loading (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
howard9199 authored Dec 25, 2024
1 parent 43ff8c7 commit 7ea5a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/session/StageProgress.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@

{#if showAction}
<div class="flex items-center gap-2">
{#if canGoPrevious}
{#if canGoPrevious || loadingPrevious}
<Button color="light" on:click={handlePrevious} disabled={!canGoPrevious || loadingPrevious}>
{#if loadingPrevious && currentStageIndex > 0}
<Loader2 class="h-4 w-4 animate-spin" />
Expand Down

0 comments on commit 7ea5a5f

Please sign in to comment.