Only render bubbles for cards in auto-closing collections
This commit is contained in:
@@ -29,10 +29,12 @@
|
||||
|
||||
<%= render "cards/display/common/background", card: card %>
|
||||
|
||||
<% if card.considering? %>
|
||||
<%= render "cards/display/preview/bubble", card: card, style: "closing" %>
|
||||
<% elsif card.doing? %>
|
||||
<%= render "cards/display/preview/bubble", card: card, style: "considering" %>
|
||||
<% if card.auto_closing? %>
|
||||
<% if card.considering? %>
|
||||
<%= render "cards/display/preview/bubble", card: card, style: "closing" %>
|
||||
<% elsif card.doing? %>
|
||||
<%= render "cards/display/preview/bubble", card: card, style: "considering" %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user