From dd8be9fda47f650addd1a67573de7550bd6d6ae3 Mon Sep 17 00:00:00 2001 From: jeff Date: Thu, 25 Aug 2022 15:05:42 +0100 Subject: [PATCH] finish converting properties/update-in to graph/update-in --- src/cljs/athens/views/blocks/core.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cljs/athens/views/blocks/core.cljs b/src/cljs/athens/views/blocks/core.cljs index e01a2fa26b..155c49aefa 100644 --- a/src/cljs/athens/views/blocks/core.cljs +++ b/src/cljs/athens/views/blocks/core.cljs @@ -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"