mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 21:04:37 +03:00
Fix /stream endpoint serving directory for fileless scenes (#3541)
* Fix stream endpoint serving folder * Hide stream link for fileless scenes
This commit is contained in:
@@ -306,12 +306,14 @@ export const SceneFileInfoPanel: React.FC<ISceneFileInfoPanelProps> = (
|
||||
return (
|
||||
<>
|
||||
<dl className="container scene-file-info details-list">
|
||||
<URLField
|
||||
id="media_info.stream"
|
||||
url={props.scene.paths.stream}
|
||||
value={props.scene.paths.stream}
|
||||
truncate
|
||||
/>
|
||||
{props.scene.files.length > 0 && (
|
||||
<URLField
|
||||
id="media_info.stream"
|
||||
url={props.scene.paths.stream}
|
||||
value={props.scene.paths.stream}
|
||||
truncate
|
||||
/>
|
||||
)}
|
||||
{renderFunscript()}
|
||||
{renderInteractiveSpeed()}
|
||||
<URLField
|
||||
|
||||
Reference in New Issue
Block a user