Simplify null check.

This commit is contained in:
FireMasterK 2021-05-10 23:41:51 +05:30
parent 00245535ef
commit 48860ec0f8
No known key found for this signature in database
GPG key ID: 8DFF5DD33E93DB58

View file

@ -18,8 +18,8 @@
<router-link class="uk-link-muted" v-bind:to="result.uploaderUrl || '/'">
<p>{{ result.uploader }}</p>
</router-link>
<b class="uk-text-small uk-align-right uk-text-align-right">
{{ result.duration ? timeFormat(result.duration) : "" }}
<b v-if="result.duration" class="uk-text-small uk-align-right uk-text-align-right">
{{ timeFormat(result.duration) }}
</b>
<b>