mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Fix only one tag markers on scene (#2482)
* Fix scene markers, add path to hidden properties Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
230d8f6028
commit
312d43d0ff
@@ -390,6 +390,7 @@ export const SceneCard: React.FC<ISceneCardProps> = (
|
|||||||
details={
|
details={
|
||||||
<div className="scene-card__details">
|
<div className="scene-card__details">
|
||||||
<span className="scene-card__date">{props.scene.date}</span>
|
<span className="scene-card__date">{props.scene.date}</span>
|
||||||
|
<span className="file-path extra-scene-info">{props.scene.path}</span>
|
||||||
<TruncatedText
|
<TruncatedText
|
||||||
className="scene-card__description"
|
className="scene-card__description"
|
||||||
text={props.scene.details}
|
text={props.scene.details}
|
||||||
|
|||||||
@@ -63,7 +63,9 @@ export const SceneMarkersPanel: React.FC<ISceneMarkersPanelProps> = (
|
|||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
||||||
const sceneMarkers = data?.sceneMarkerTags[0]?.scene_markers ?? [];
|
const sceneMarkers = (
|
||||||
|
data?.sceneMarkerTags.map((tag) => tag.scene_markers) ?? []
|
||||||
|
).reduce((prev, current) => [...prev, ...current], []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="scene-markers-panel">
|
<div className="scene-markers-panel">
|
||||||
|
|||||||
Reference in New Issue
Block a user