Skip to content

Commit c718392

Browse files
fix: don't open a window for external apps (#17813)
This prevents empty windows like the following to happen: ![image](https://github.com/user-attachments/assets/0a444938-316e-4d48-bdfc-770d1b4b2bf0)
1 parent 67e4024 commit c718392

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

site/src/modules/apps/useAppLink.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ export const useAppLink = (
5555
window.addEventListener("blur", () => {
5656
clearTimeout(openAppExternallyFailed);
5757
});
58+
59+
// External apps don't support open_in since they only should open
60+
// external apps.
61+
return;
5862
}
5963

6064
switch (app.open_in) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy