🔧 Fixed an undefined check
This commit is contained in:
@@ -85,7 +85,14 @@ export const LibraryGrid = (libraryGridProps: ILibraryGridProps) => {
|
|||||||
sourcedMetadata.comicvine.volumeInformation.description,
|
sourcedMetadata.comicvine.volumeInformation.description,
|
||||||
),
|
),
|
||||||
) ? (
|
) ? (
|
||||||
<span className="tag is-warning">TPB</span>
|
<span className="tag is-warning">
|
||||||
|
{
|
||||||
|
detectIssueTypes(
|
||||||
|
sourcedMetadata.comicvine.volumeInformation
|
||||||
|
.description,
|
||||||
|
).displayName
|
||||||
|
}
|
||||||
|
</span>
|
||||||
) : null}
|
) : null}
|
||||||
</div>
|
</div>
|
||||||
</Card>
|
</Card>
|
||||||
|
|||||||
@@ -66,11 +66,13 @@ export const RecentlyImported = ({
|
|||||||
<img src="/dist/img/cvlogo.svg" />
|
<img src="/dist/img/cvlogo.svg" />
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
|
{/* Raw file presence */}
|
||||||
{isNil(rawFileDetails) && (
|
{isNil(rawFileDetails) && (
|
||||||
<span className="icon has-text-info">
|
<span className="icon has-text-info">
|
||||||
<i className="fas fa-adjust" />
|
<i className="fas fa-adjust" />
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
|
{/* Issue type */}
|
||||||
{!isUndefined(sourcedMetadata.comicvine) &&
|
{!isUndefined(sourcedMetadata.comicvine) &&
|
||||||
!isNil(
|
!isNil(
|
||||||
detectIssueTypes(
|
detectIssueTypes(
|
||||||
|
|||||||
Reference in New Issue
Block a user