From da13744ad9858a0ab02ecfd9be1ed57b6fd0c5f9 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Thu, 12 Jun 2025 14:19:52 -0500 Subject: [PATCH] Allow adding new cards even in filtered or All Collections views This is viable now that you can change the collection a card is in as introduced in c4ca5d34e48007fc73448b0ff7ebc8fa9dbea877 --- app/views/cards/index/engagement/_considering.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/cards/index/engagement/_considering.html.erb b/app/views/cards/index/engagement/_considering.html.erb index a3604335e..3c081ebbf 100644 --- a/app/views/cards/index/engagement/_considering.html.erb +++ b/app/views/cards/index/engagement/_considering.html.erb @@ -3,7 +3,7 @@ Considering - <% if collection = filter.single_collection || (Current.user.collections.first if Current.user.collections.one?) %> + <% if collection = filter.single_collection || Current.user.collections.first %> <%= button_to collection_cards_path(collection), method: :post, class: "card card--new-card-button btn", form_class: "full-width" do %>
<%= icon_tag "add" %>