Skip to content

Commit

Permalink
move function order
Browse files Browse the repository at this point in the history
Signed-off-by: tygao <tygao@amazon.com>
  • Loading branch information
raintygao committed Apr 11, 2024
1 parent 9bc6fc2 commit b8477fc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/plugins/workspace/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ export class WorkspacePlugin implements Plugin<{}, {}> {
await workspaceClient.init();
core.application.registerAppUpdater(this.appUpdater$);

// Hide advance settings and dataSource menus and disable in setup
this.disableManagementApps(core, management);
/**
* Retrieve workspace id from url
*/
Expand Down Expand Up @@ -144,9 +146,6 @@ export class WorkspacePlugin implements Plugin<{}, {}> {
currentAppIdSubscription.unsubscribe();
});
})();

// Hide advance settings and dataSource menus and disable in setup
this.disableManagementApps(core, management);
}
}

Expand Down

0 comments on commit b8477fc

Please sign in to comment.