From 8ec41fa3595b9c6d1fe6b270d5d3dfe802b6bda8 Mon Sep 17 00:00:00 2001 From: BrunoQuaresma Date: Tue, 13 May 2025 22:28:57 +0000 Subject: [PATCH] fix: don't open a window for external apps --- site/src/modules/apps/useAppLink.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/site/src/modules/apps/useAppLink.ts b/site/src/modules/apps/useAppLink.ts index 9916aaf95fe75..efaab474e6db9 100644 --- a/site/src/modules/apps/useAppLink.ts +++ b/site/src/modules/apps/useAppLink.ts @@ -55,6 +55,10 @@ export const useAppLink = ( window.addEventListener("blur", () => { clearTimeout(openAppExternallyFailed); }); + + // External apps don't support open_in since they only should open + // external apps. + return; } switch (app.open_in) {