refresh sibling columns on column creation and deletion

This commit is contained in:
Tomas Costantino
2025-12-09 10:13:46 +01:00
parent b06b8135d4
commit 8a7abc3796
2 changed files with 3 additions and 1 deletions
@@ -1 +1,2 @@
<%= turbo_stream.before("closed-cards", partial: "boards/show/column", method: :morph, locals: { column: @column }) %>
<%= render "columns/refresh_siblings", column: @column %>
@@ -1 +1,2 @@
<%= turbo_stream.remove(dom_id(@column)) %>
<%= turbo_stream.remove(dom_id(@column)) %>
<%= render "columns/refresh_siblings", column: @column %>