fix: show video duration and publish date only if data exists
This commit is contained in:
parent
2430fd3a4c
commit
f82d0a6074
@ -6,8 +6,7 @@
|
||||
<div class="col-md-8">
|
||||
<h2>{{ contentData.name }}</h2>
|
||||
<span class="text-muted">
|
||||
<i class="octicon octicon-clock" title="Duration"></i> {{ contentData.duration }} Mins
|
||||
— Published on {{ contentData.publish_date }}.
|
||||
<i class="octicon octicon-clock" title="Duration"></i> <span v-if="contentData.duration"> {{ contentData.duration }} Mins — </span><span v-if="contentData.publish_date"> Published on {{ contentData.publish_date }}. </span>
|
||||
</span>
|
||||
</div>
|
||||
<div class="col-md-4 text-right">
|
||||
|
Loading…
x
Reference in New Issue
Block a user