refactor(recovery): restore canonical item type badges

This commit is contained in:
rcourtman 2026-03-28 23:11:13 +00:00
parent 39866dba88
commit bd0fc0a5e6
4 changed files with 23 additions and 13 deletions

View file

@ -471,7 +471,7 @@ export const RecoveryProtectedInventorySection: Component<
</div>
<div class="flex flex-wrap items-center gap-1.5 text-[10px] md:hidden">
<Show when={itemTypePresentation?.label}>
<span class={getRecoveryArtifactMetadataTextClass('muted')}>
<span class={itemTypePresentation?.badgeClasses}>
{itemTypePresentation?.label}
</span>
</Show>
@ -496,7 +496,7 @@ export const RecoveryProtectedInventorySection: Component<
when={itemTypePresentation}
fallback={<span class="text-muted"></span>}
>
<span class={getRecoveryArtifactMetadataTextClass()}>
<span class={itemTypePresentation?.badgeClasses}>
{itemTypePresentation?.label}
</span>
</Show>