Only show it if it has a title.

This commit is contained in:
Dessalines 2020-02-17 12:45:08 -05:00
parent 30e1456ac0
commit 6c28851fe8

View File

@ -27,6 +27,7 @@ export class IFramelyCard extends Component<
let iframely = this.props.iframely;
return (
<>
{iframely.title && (
<div class="card my-2">
<div class="row no-gutters">
{iframely.thumbnail_url && (
@ -81,6 +82,7 @@ export class IFramelyCard extends Component<
</div>
</div>
</div>
)}
{this.state.expanded && (
<div class="my-2 embed-responsive embed-responsive-16by9">
<div