Skip to content

Commit

Permalink
Merge pull request bagisto#7695 from jitendra-webkul/2.0.0
Browse files Browse the repository at this point in the history
Fixed account review page issue
  • Loading branch information
jitendra-webkul committed Jun 23, 2023
2 parents 9d48a28 + c30d54a commit 2d701ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@props([
'name' => 'rating',
'value' => 0,
'disabled' => true,
'name' => 'rating',
'value' => 0,
'disabled' => true,
])

<v-star-rating
Expand All @@ -21,20 +21,19 @@ class="icon-star-fill cursor-pointer text-[24px]"
v-if="! disabled"
:style="[`color: ${appliedRatings >= rating ? '#ffb600' : '#7d7d7d'}`]"
@click="change(rating)"
/>
></span>

<span
class="icon-star-fill text-[24px]"
v-for="rating in availableRatings"
:style="[`color: ${appliedRatings >= rating ? '#ffb600' : '#7d7d7d'}`]"
v-else
/>
></span>

<v-field
type="hidden"
:name="name"
v-model="appliedRatings"
{{ $attributes }}
></v-field>
</div>
</script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@

<div class="min-h-[100px] min-w-[100px] max-sm:hidden">
<img
class="rounded-[12px]"
src="{{ $image[0]['small_image_url'] ?? bagisto_asset('images/small-product-placeholder.png') }}"
title=""
alt=""
class="rounded-[12px]"
>
</div>

Expand Down

0 comments on commit 2d701ed

Please sign in to comment.