Skip to content

Commit

Permalink
fix failed ut for index pattern and retire dashboard management (#188)
Browse files Browse the repository at this point in the history
Signed-off-by: Hailong Cui <[email protected]>
  • Loading branch information
Hailong-am authored Sep 20, 2023
1 parent 33e90ec commit a2abcf2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/plugins/data/public/search/errors/painless_error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ export class PainlessError extends OsdError {

public getErrorMessage(application: ApplicationStart) {
function onClick() {
application.navigateToApp('management', {
path: `/opensearch-dashboards/indexPatterns`,
});
application.navigateToApp('indexPatterns');
}

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ describe('OverviewPageHeader toolbar items - Management', () => {

return component.find({
className: 'osdOverviewPageHeader__actionButton',
href: '/app/management',
href: '/app/settings',
});
};

Expand Down

0 comments on commit a2abcf2

Please sign in to comment.