Add range check for views.

This commit is contained in:
FireMasterK 2021-06-15 01:20:09 +05:30
parent 929b1c07c0
commit b69cc4c848
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -57,7 +57,7 @@
<br /> <br />
<b v-if="result.views" class="uk-text-small"> <b v-if="result.views >= 0" class="uk-text-small">
<font-awesome-icon icon="eye"></font-awesome-icon> <font-awesome-icon icon="eye"></font-awesome-icon>
{{ numberFormat(result.views) }} views {{ numberFormat(result.views) }} views
</b> </b>