From 8b2ae380b09cf6f34a307b3a9475545b9dbbb752 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Tue, 5 Dec 2023 17:02:08 +0100 Subject: [PATCH] :bug: Removed locate grid from normal grid menu --- .../sidebar/options/menus/layout_container.cljs | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/layout_container.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/layout_container.cljs index 4c080c873..315c62401 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/layout_container.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/layout_container.cljs @@ -1375,12 +1375,7 @@ handle-open-grid-help (mf/use-callback (fn [] - (st/emit! (dom/open-new-window cf/grid-help-uri)))) - - handle-locate-grid - (mf/use-callback - (fn [] - (st/emit! (dwge/locate-board (first ids)))))] + (st/emit! (dom/open-new-window cf/grid-help-uri))))] (if new-css-system [:div {:class (stl/css :element-set)} @@ -1480,11 +1475,7 @@ :set-justify set-justify-grid}] [:& justify-grid-row {:is-col? false :justify-items grid-justify-content-row - :set-justify set-justify-grid}] - - [:button {:on-click handle-locate-grid - :class (stl/css :locate-button)} - i/locate-refactor]]] + :set-justify set-justify-grid}]]] nil)))] [:div.element-set