From a9340709c8a3157fa8ddd7177e675855b1197fad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?luis=CE=B4=CE=BC?= Date: Mon, 17 Feb 2025 12:29:19 +0100 Subject: [PATCH] :bug: Fix open comment in workspace from dashboard notification (#5865) --- frontend/src/app/main/data/workspace/comments.cljs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/app/main/data/workspace/comments.cljs b/frontend/src/app/main/data/workspace/comments.cljs index d88422177c..c47fedeaa2 100644 --- a/frontend/src/app/main/data/workspace/comments.cljs +++ b/frontend/src/app/main/data/workspace/comments.cljs @@ -22,7 +22,6 @@ [app.main.data.workspace.drawing :as dwd] [app.main.data.workspace.edition :as dwe] [app.main.data.workspace.selection :as dws] - [app.main.data.workspace.viewport :as dwv] [app.main.repo :as rp] [app.main.router :as rt] [app.main.streams :as ms] @@ -118,7 +117,7 @@ :page-id (:page-id thread))) (->> stream - (rx/filter (ptk/type? ::dwv/initialize-viewport)) + (rx/filter (ptk/type? ::dcmt/comment-threads-fetched)) (rx/take 1) (rx/mapcat #(rx/of (center-to-comment-thread thread) (dwd/select-for-drawing :comments)