From a7e3d7963a069f7a1a6cfdd78690fc10eb8bc9ca Mon Sep 17 00:00:00 2001 From: Luis de Dios Date: Wed, 25 Mar 2026 18:08:21 +0100 Subject: [PATCH] :bug: Fix do not manage tab notifications when MCP flag is disabled --- frontend/src/app/main/data/workspace/notifications.cljs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/main/data/workspace/notifications.cljs b/frontend/src/app/main/data/workspace/notifications.cljs index 743fecd850..ebbf8ce916 100644 --- a/frontend/src/app/main/data/workspace/notifications.cljs +++ b/frontend/src/app/main/data/workspace/notifications.cljs @@ -12,6 +12,7 @@ [app.common.schema :as sm] [app.common.time :as ct] [app.common.uuid :as uuid] + [app.config :as cf] [app.main.data.changes :as dch] [app.main.data.common :as dc] [app.main.data.helpers :as dsh] @@ -217,7 +218,8 @@ ptk/WatchEvent (watch [_ _ _] - (rx/of (mcp/manage-mcp-notification)))))) + (when (contains? cf/flags :mcp) + (rx/of (mcp/manage-mcp-notification))))))) (defn handle-pointer-update [{:keys [page-id session-id position zoom zoom-inverse vbox vport] :as msg}]