Minor UI fix for StashId display in FileInfoPanel (#3050)

This commit is contained in:
puc9
2022-10-25 19:57:29 -07:00
committed by GitHub
parent 3ac3fe09b8
commit 2b80b6d8d5

View File

@@ -158,7 +158,7 @@ export const SceneFileInfoPanel: React.FC<ISceneFileInfoPanelProps> = (
<> <>
<dt>StashIDs</dt> <dt>StashIDs</dt>
<dd> <dd>
<ul> <dl>
{props.scene.stash_ids.map((stashID) => { {props.scene.stash_ids.map((stashID) => {
const base = getStashboxBase(stashID.endpoint); const base = getStashboxBase(stashID.endpoint);
const link = base ? ( const link = base ? (
@@ -173,12 +173,12 @@ export const SceneFileInfoPanel: React.FC<ISceneFileInfoPanelProps> = (
stashID.stash_id stashID.stash_id
); );
return ( return (
<li key={stashID.stash_id} className="row no-gutters"> <dd key={stashID.stash_id} className="row no-gutters">
{link} {link}
</li> </dd>
); );
})} })}
</ul> </dl>
</dd> </dd>
</> </>
); );