Performer and Movie UI fixes and improvements (#447)

* Improve gender display
* Sanitise performer URLs
* Refactor editable text into separate module
* Make movie duration DurationInput
* Fix clearing sometimes not firing onChange
* Set movie duration as string
* Fix TextUtil.fileSize
* Improve scene URL
This commit is contained in:
WithoutPants
2020-04-11 13:23:31 +10:00
committed by GitHub
parent aef31c8b50
commit 6764c1f545
13 changed files with 361 additions and 136 deletions

View File

@@ -150,7 +150,11 @@ export const SceneFileInfoPanel: React.FC<ISceneFileInfoPanelProps> = (
return (
<div className="row">
<span className="col-4">Downloaded From</span>
<span className="col-8 text-truncate">{props.scene.url}</span>
<span className="col-8 text-truncate">
<a href={TextUtils.sanitiseURL(props.scene.url)}>
{props.scene.url}
</a>
</span>
</div>
);
}