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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

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