Timothy Jaeryang Baek преди 3 месеца
родител
ревизия
ea7d4ec6ea
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      src/lib/components/common/Collapsible.svelte

+ 3 - 3
src/lib/components/common/Collapsible.svelte

@@ -37,13 +37,13 @@
 			}}
 			}}
 		>
 		>
 			<div
 			<div
-				class=" w-full font-medium flex items-center justify-between gap-2 {attributes?.done !==
-				'true'
+				class=" w-full font-medium flex items-center justify-between gap-2 {attributes?.done &&
+				attributes?.done !== 'true'
 					? 'shimmer'
 					? 'shimmer'
 					: ''}
 					: ''}
 			"
 			"
 			>
 			>
-				{#if attributes?.done !== 'true'}
+				{#if attributes?.done && attributes?.done !== 'true'}
 					<div>
 					<div>
 						<Spinner className="size-4" />
 						<Spinner className="size-4" />
 					</div>
 					</div>