diff --git a/how-to/workspace-platform-starter/client/src/framework/launch.ts b/how-to/workspace-platform-starter/client/src/framework/launch.ts index 4dd1c4d04..16a747e51 100644 --- a/how-to/workspace-platform-starter/client/src/framework/launch.ts +++ b/how-to/workspace-platform-starter/client/src/framework/launch.ts @@ -257,7 +257,7 @@ async function getViewIdentities( const win = fin.Window.wrapSync(identity); const views = await win.getCurrentViews(); const viewIdentities = views.map((view) => ({ ...view.identity, appId })); - await win.setAsForeground(); + await bringWindowToFront({ window: win }); return viewIdentities; }