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

+4
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)