fix(applauncher): call action after setting view, not instead

This commit is contained in:
2026-01-12 13:31:35 +00:00
parent 5d858d722c
commit e346d582ee

View File

@@ -995,10 +995,9 @@ export class EcoApplauncher extends DeesElement {
if (app.view) {
this.activeView = app.view;
this.activeViewName = app.name;
return;
}
// Otherwise execute the action
// Execute the action (runs after setting view for initialization callbacks)
if (app.action) {
app.action();
}