mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: don't open a window for external apps (#17813)
This prevents empty windows like the following to happen: 
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user