formatting
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
carla 2025-12-08 11:51:45 +01:00
parent 1b06f885bf
commit c3e95ca711

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))}