Преглед изворни кода

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

charlie пре 2 година
родитељ
комит
3dc25111a2
1 измењених фајлова са 1 додато и 1 уклоњено
  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"}))