Skip to content

Commit 2ed7044

Browse files
committed
Fix icon for chosen star
1 parent 94e29df commit 2ed7044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/ratings/_form.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<% 1.upto(5).each do |score| %>
99
<% rating_users = others_ratings.select { |r| r.score == score }.map { |r| r.user.display_name } %>
1010
<% btn_data = { score: score } %>
11-
<% btn_icon = rating_users.any? ? 'star-exclamation' : 'star' %>
11+
<% btn_icon = rating_users.any? ? 'heart' : 'star' %>
1212
<% rating_users.unshift('You') if rating.score == score %>
1313
<% if rating_users.any? %>
1414
<%# We specify container: 'body' to avoid rendering problems in more complex components %>

0 commit comments

Comments
 (0)