Răsfoiți Sursa

fix: /date picker not working

Tienson Qin 4 ani în urmă
părinte
comite
3fa9b206fe
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/main/frontend/components/editor.cljs

+ 1 - 1
src/main/frontend/components/editor.cljs

@@ -48,7 +48,7 @@
                                 (and
                                  (not (fn? command-steps))
                                  (not (contains? (set (map first command-steps)) :editor/input))
-                                 (not (contains? #{"Date Picker" "Template" "Deadline" "Scheduled" "Upload an image"} command))))]
+                                 (not (contains? #{"Date picker" "Template" "Deadline" "Scheduled" "Upload an image"} command))))]
             (editor-handler/insert-command! id command-steps
                                             format
                                             {:restore? restore-slash?}))))