Icon Added

This commit is contained in:
Devansh 2020-08-04 20:11:08 +05:30
parent 4a3482b4d5
commit 561b2de404
1 changed files with 4 additions and 1 deletions

View File

@ -112,7 +112,10 @@
></span>
@break;
@case('file')
<a v-if="product.product['{{ $attribute['code'] }}']" v-text="product.product['{{ $attribute['code'] }}'].substr(product.product['{{ $attribute['code'] }}'].lastIndexOf('/') + 1)" :href="`${$root.baseUrl}/storage/${product.product['{{ $attribute['code'] }}']}`" class="fs16"></a>
<a v-if="product.product['{{ $attribute['code'] }}']" :href="`${$root.baseUrl}/storage/${product.product['{{ $attribute['code'] }}']}`">
<span v-text="product.product['{{ $attribute['code'] }}'].substr(product.product['{{ $attribute['code'] }}'].lastIndexOf('/') + 1)" class="fs16"></span>
<i class='material-icons'>arrow_downward</i>
</a>
<a v-else class="fs16">__</span>
@break;
@default