Explorar o código

enhance(ui): refactor the add db modal with the shui dialog

charlie hai 1 ano
pai
achega
3dc25111a2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/main/frontend/handler/events.cljs

+ 1 - 1
src/main/frontend/handler/events.cljs

@@ -812,7 +812,7 @@
       (page-handler/ls-dir-files! st/refresh! opts'))))
 
 (defmethod handle :graph/new-db-graph [[_ _opts]]
-  (state/set-modal!
+  (shui/dialog-open!
     repo/new-db-graph
     {:id :new-db-graph
      :label "graph-setup"}))