From bcb98523eb360988a182454dd9469f4f93089fc9 Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Tue, 3 Dec 2024 16:51:44 -0500 Subject: [PATCH] Ignore progress bars in Chromatic --- src/lib/components/processing/Process.svelte | 8 ++++---- src/lib/components/viewer/LoadingToolbar.svelte | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lib/components/processing/Process.svelte b/src/lib/components/processing/Process.svelte index 0774af00d..e51149290 100644 --- a/src/lib/components/processing/Process.svelte +++ b/src/lib/components/processing/Process.svelte @@ -47,13 +47,13 @@ {/if} {#if ["success", "failure", "cancelled"].includes(status)} - + {:else if status === "queued"} - + {:else if progress} - + {:else} - + {/if} diff --git a/src/lib/components/viewer/LoadingToolbar.svelte b/src/lib/components/viewer/LoadingToolbar.svelte index e32e599c3..659dbdc17 100644 --- a/src/lib/components/viewer/LoadingToolbar.svelte +++ b/src/lib/components/viewer/LoadingToolbar.svelte @@ -9,9 +9,9 @@

Loading PDF…

{#if progress} - + {:else} - + {/if}