UX - Avoid opening member by clicking the checkbox closes #233 #250

Merged
carla merged 4 commits from feature/223_member_checkbox into main 2025-12-08 12:11:49 +01:00
Showing only changes of commit c3e95ca711 - Show all commits

View file

@ -511,9 +511,9 @@ defmodule MvWeb.CoreComponents do
<td
:for={col <- @col}
phx-click={
(col[:col_click] && col[:col_click].(@row_item.(row))) ||
(@row_click && @row_click.(row))
}
(col[:col_click] && col[:col_click].(@row_item.(row))) ||
(@row_click && @row_click.(row))
}
class={["max-w-xs truncate", (col[:col_click] || @row_click) && "hover:cursor-pointer"]}
>
{render_slot(col, @row_item.(row))}