diff --git a/apps/configurator/lib/configurator_web/controllers/map_configuration_html/index.html.heex b/apps/configurator/lib/configurator_web/controllers/map_configuration_html/index.html.heex index cd157f3d5..d20524696 100644 --- a/apps/configurator/lib/configurator_web/controllers/map_configuration_html/index.html.heex +++ b/apps/configurator/lib/configurator_web/controllers/map_configuration_html/index.html.heex @@ -60,6 +60,16 @@ <% end %> + <:col :let={map_configuration} label="Square Wall"> + <%= if is_nil(map_configuration.square_wall) do %> +
N/A
+ <% else %> + <.button type="button" phx-click={show_modal("square-wall-#{map_configuration.id}")}>Show + <.modal id={"square-wall-#{map_configuration.id}"}> +<%= json_encode(map_configuration.square_wall) %>
+ + <% end %> + <:action :let={map_configuration}> <.link navigate={~p"/map_configurations/#{map_configuration}"}>View