فهرست منبع

fix: regression on scheduled/deadline for file graphs

Gabriel Horner 2 سال پیش
والد
کامیت
a0e8b43ae9
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/main/frontend/commands.cljs

+ 2 - 2
src/main/frontend/commands.cljs

@@ -679,12 +679,12 @@
 (defmethod handle-step :editor/set-scheduled [[_]]
   (if (config/db-based-graph? (state/get-current-repo))
     (state/pub-event! [:editor/new-property "Scheduled"])
-    (handle-step :editor/show-date-picker :scheduled)))
+    (handle-step [:editor/show-date-picker :scheduled])))
 
 (defmethod handle-step :editor/set-deadline [[_]]
   (if (config/db-based-graph? (state/get-current-repo))
     (state/pub-event! [:editor/new-property "Deadline"])
-    (handle-step :editor/show-date-picker :deadline)))
+    (handle-step [:editor/show-date-picker :deadline])))
 
 (defmethod handle-step :editor/insert-properties [[_ _] _format]
   (when-let [input-id (state/get-edit-input-id)]