Skip to content

Commit

Permalink
Revert "fix failed ut for index pattern and retire dashboard management"
Browse files Browse the repository at this point in the history
This reverts commit 583658e.
  • Loading branch information
Hailong-am committed Sep 21, 2023
1 parent d7e285c commit 6204dcc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/plugins/data/public/search/errors/painless_error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ export class PainlessError extends OsdError {

public getErrorMessage(application: ApplicationStart) {
function onClick() {
application.navigateToApp('indexPatterns');
application.navigateToApp('management', {
path: `/opensearch-dashboards/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/settings',
href: '/app/management',
});
};

Expand Down

0 comments on commit 6204dcc

Please sign in to comment.