From 2f1377ec0164cc5cfe3edff898d1aa8f3c8ddcc3 Mon Sep 17 00:00:00 2001 From: Bohdan Triapitsyn Date: Mon, 6 Apr 2026 20:55:32 +0300 Subject: [PATCH] fix: prevent duplicate desktop notifications --- packages/ui/src/App.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/ui/src/App.tsx b/packages/ui/src/App.tsx index 57507122..01ecfbf5 100644 --- a/packages/ui/src/App.tsx +++ b/packages/ui/src/App.tsx @@ -386,6 +386,7 @@ function App({ apis }: AppProps) { title?: string; body?: string; tag?: string; + desktopStdoutActive?: boolean; }; }; @@ -401,6 +402,10 @@ function App({ apis }: AppProps) { return; } + if (payload.properties?.desktopStdoutActive === true) { + return; + } + const tag = typeof payload.properties?.tag === 'string' ? payload.properties.tag : ''; if (tag) { const now = Date.now();