fix(applauncher): call action after setting view, not instead
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user