Merge pull request #2515 from basecamp/card-column-refresh

Only disable the current column if it's open
This commit is contained in:
Andy Smith
2026-02-09 16:09:40 -06:00
committed by GitHub
+1 -1
View File
@@ -5,7 +5,7 @@ module ColumnsHelper
card_triage_path(card, column_id: column),
method: :post,
class: [ "card__column-name btn", { "card__column-name--current": column == card.column && card.open? } ],
disabled: column == card.column,
disabled: column == card.column && card.open?,
style: "--column-color: #{column.color}",
form_class: "flex gap-half",
data: { turbo_frame: "_top", scroll_to_target: column == card.column && card.open? ? "target" : nil }