Просмотр исходного кода

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

charlie 1 год назад
Родитель
Сommit
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"}))