Skip to content

Commit

Permalink
chore(ui): hide network map button until it can be restabilized
Browse files Browse the repository at this point in the history
  • Loading branch information
mromulus committed Dec 4, 2023
1 parent 31a8312 commit 508a2ae
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/views/exercises/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
.col-span-5
%div
%span.font-bold Inventory
= render ModalComponent.new(header: "Network map", full_screen: true) do |c|
- c.with_body do
= turbo_frame_tag :exercise_map, loading: 'lazy', src: exercise_map_path(@exercise) do
Loading...
= link_to 'Show map', 'javascript:;', class: 'text-xs text-indigo-600 hover:text-indigo-900 dark:text-indigo-400', data: { action: "click->modal#open" }
-# = render ModalComponent.new(header: "Network map", full_screen: true) do |c|
-# - c.with_body do
-# = turbo_frame_tag :exercise_map, loading: 'lazy', src: exercise_map_path(@exercise) do
-# Loading...
-# = link_to 'Show map', 'javascript:;', class: 'text-xs text-indigo-600 hover:text-indigo-900 dark:text-indigo-400', data: { action: "click->modal#open" }
.grid.grid-flow-col.gap-4.auto-cols-fr
%div
Expand Down

0 comments on commit 508a2ae

Please sign in to comment.