Skip to content

Commit

Permalink
delete useless modify
Browse files Browse the repository at this point in the history
Signed-off-by: yubonluo <[email protected]>
  • Loading branch information
yubonluo committed Apr 16, 2024
1 parent 7dfaca8 commit 74ca667
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/plugins/opensearch_dashboards_overview/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,9 @@ export class OpenSearchDashboardsOverviewPlugin
map((hasOpenSearchDashboardsApp) => {
return () => {
if (!hasOpenSearchDashboardsApp) {
return {
status: AppStatus.inaccessible,
navLinkStatus: AppNavLinkStatus.hidden,
};
return { status: AppStatus.inaccessible, navLinkStatus: AppNavLinkStatus.hidden };
} else {
return {
status: AppStatus.accessible,
navLinkStatus: AppNavLinkStatus.default,
};
return { status: AppStatus.accessible, navLinkStatus: AppNavLinkStatus.default };
}
};
})
Expand Down

0 comments on commit 74ca667

Please sign in to comment.