Content-Length: 263487 | pFad | http://github.com/coder/coder/commit/c71839294b6db1664005d039fda6f7ee457d1156

73 fix: don't open a window for external apps (#17813) · coder/coder@c718392 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/coder/coder/commit/c71839294b6db1664005d039fda6f7ee457d1156

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy