🛻 Upgraded deps, fixed issues

This commit is contained in:
2026-02-25 16:57:46 -05:00
parent e113066094
commit 4498830e29
19 changed files with 9487 additions and 18550 deletions

View File

@@ -67,6 +67,8 @@ export const RecentlyImported = (
const isComicVineMetadataAvailable =
!isUndefined(comicvine) &&
!isUndefined(comicvine.volumeInformation);
const hasComicInfo = !isNil(comicInfo) && !isEmpty(comicInfo);
const cardState = (hasComicInfo || isComicVineMetadataAvailable) ? "scraped" : "imported";
return (
<div
key={idx}
@@ -77,6 +79,7 @@ export const RecentlyImported = (
imageUrl={url}
title={inferredMetadata.issue.name}
hasDetails
cardState={cardState}
>
<div>
<dd className="text-sm my-1 flex flex-row gap-1">
@@ -115,7 +118,7 @@ export const RecentlyImported = (
{/* ComicInfo.xml presence */}
{!isNil(comicInfo) && !isEmpty(comicInfo) && (
<div className="mt-1">
<i className="h-7 w-7 icon-[solar--code-file-bold-duotone] text-yellow-500 dark:text-yellow-300"></i>
<i className="h-7 w-7 icon-[solar--code-file-bold-duotone] text-gray-500 dark:text-white-300"></i>
</div>
)}
{/* ComicVine metadata presence */}