Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jpdjere committed Aug 28, 2023
1 parent 546d3c3 commit 22a1fd9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
*/

import type { ChromeBreadcrumb } from '@kbn/core/public';
import {
RuleDetailTabs,
RULE_DETAILS_TAB_NAME,
} from '../../../../detection_engine/rule_details_ui/pages/rule_details/use_rule_details_tabs';
import {
getRuleDetailsTabUrl,
getRuleDetailsUrl,
Expand All @@ -14,10 +18,6 @@ import * as i18nRules from './translations';
import { SecurityPageName } from '../../../../app/types';
import { RULES_PATH } from '../../../../../common/constants';
import type { GetTrailingBreadcrumbs } from '../../../../common/components/navigation/breadcrumbs/types';
import {
RuleDetailTabs,
RULE_DETAILS_TAB_NAME,
} from '../../../../detection_engine/rule_details_ui/pages/rule_details';
import { DELETED_RULE } from '../../../../detection_engine/rule_details_ui/pages/rule_details/translations';

const getRuleDetailsTabName = (tabName: string): string => {
Expand Down
6 changes: 2 additions & 4 deletions x-pack/plugins/security_solution/public/rules/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ import {
import { NotFoundPage } from '../app/404';
import { RulesPage } from '../detection_engine/rule_management_ui/pages/rule_management';
import { CreateRulePage } from '../detection_engine/rule_creation_ui/pages/rule_creation';
import {
RuleDetailsPage,
RuleDetailTabs,
} from '../detection_engine/rule_details_ui/pages/rule_details';
import { RuleDetailsPage } from '../detection_engine/rule_details_ui/pages/rule_details';
import { EditRulePage } from '../detection_engine/rule_creation_ui/pages/rule_editing';
import { useReadonlyHeader } from '../use_readonly_header';
import { PluginTemplateWrapper } from '../common/components/plugin_template_wrapper';
Expand All @@ -33,6 +30,7 @@ import type { SecuritySubPluginRoutes } from '../app/types';
import { RulesLandingPage } from './landing';
import { useIsExperimentalFeatureEnabled } from '../common/hooks/use_experimental_features';
import { CoverageOverviewPage } from '../detection_engine/rule_management_ui/pages/coverage_overview';
import { RuleDetailTabs } from '../detection_engine/rule_details_ui/pages/rule_details/use_rule_details_tabs';

const RulesSubRoutes = [
{
Expand Down

0 comments on commit 22a1fd9

Please sign in to comment.