Fix date rendering for missing date values (#580)

* Fix date rendering when missing date value
* Move scene studio overlay within scene card
This commit is contained in:
WithoutPants
2020-05-27 09:34:46 +10:00
committed by GitHub
parent 4ec6d62e01
commit 1110e9c311
5 changed files with 20 additions and 8 deletions

View File

@@ -252,9 +252,10 @@ export const SceneCard: React.FC<ISceneCardProps> = (
event.stopPropagation();
}}
/>
{maybeRenderSceneStudioOverlay()}
<Link to={`/scenes/${props.scene.id}`} className="scene-card-link">
{maybeRenderRatingBanner()}
{maybeRenderSceneStudioOverlay()}
{maybeRenderSceneSpecsOverlay()}
<video
loop