Skip to content

Commit

Permalink
Merge pull request #2313 from tangjeff0/remove-properties-update-in
Browse files Browse the repository at this point in the history
finish converting properties/update-in to graph/update-in
  • Loading branch information
tangjeff0 authored Aug 25, 2022
2 parents 5725067 + dd8be9f commit 5a3cec5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cljs/athens/views/blocks/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -320,10 +320,10 @@
(defn convert-anon-block-to-task
[block]
(let [{:block/keys [uid string]} block
entity-type-event [:properties/update-in [:block/uid uid] [":entity/type"]
entity-type-event [:graph/update-in [:block/uid uid] [":entity/type"]
(fn [db entity-type-uid]
[(graph-ops/build-block-save-op db entity-type-uid "[[athens/task]]")])]
task-title-event [:properties/update-in [:block/uid uid] [":task/title"]
task-title-event [:graph/update-in [:block/uid uid] [":task/title"]
(fn [db task-title-uid]
[(graph-ops/build-block-save-op db task-title-uid string)])]]
(log/debug "convert to task"
Expand Down

0 comments on commit 5a3cec5

Please sign in to comment.