Merge pull request #65 from rudi123github/master

Add anchor to scene path, and display stream anchor
This commit is contained in:
Leopere
2019-07-24 06:41:24 -04:00
committed by GitHub

View File

@@ -23,7 +23,16 @@ export const SceneFileInfoPanel: FunctionComponent<ISceneFileInfoPanelProps> = (
return ( return (
<tr> <tr>
<td>Path</td> <td>Path</td>
<td>{props.scene.path}</td> <td><a href={"file://"+props.scene.path}>{"file://"+props.scene.path}</a> </td>
</tr>
);
}
function renderStream() {
return (
<tr>
<td>Stream</td>
<td><a href={props.scene.paths.stream}>{props.scene.paths.stream}</a> </td>
</tr> </tr>
); );
} }
@@ -114,6 +123,7 @@ export const SceneFileInfoPanel: FunctionComponent<ISceneFileInfoPanelProps> = (
<tbody> <tbody>
{renderChecksum()} {renderChecksum()}
{renderPath()} {renderPath()}
{renderStream()}
{renderFileSize()} {renderFileSize()}
{renderDuration()} {renderDuration()}
{renderDimensions()} {renderDimensions()}