From 7514b0b06e687e3f92548517297365ed4d8137ce Mon Sep 17 00:00:00 2001 From: Chris Thielen Date: Fri, 30 Jul 2021 11:41:17 -1000 Subject: [PATCH] feat(core/cluster): Remove unused react2angular component --- .../src/cluster/filter/filterSearch.component.ts | 12 ------------ packages/core/src/core.module.ts | 2 -- 2 files changed, 14 deletions(-) delete mode 100644 packages/core/src/cluster/filter/filterSearch.component.ts diff --git a/packages/core/src/cluster/filter/filterSearch.component.ts b/packages/core/src/cluster/filter/filterSearch.component.ts deleted file mode 100644 index b3021851aef..00000000000 --- a/packages/core/src/cluster/filter/filterSearch.component.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { module } from 'angular'; -import { react2angular } from 'react2angular'; - -import { FilterSearch } from './FilterSearch'; -import { withErrorBoundary } from '../../presentation/SpinErrorBoundary'; - -export const FILTER_SEARCH_COMPONENT = 'spinnaker.application.filterSearch.component'; - -module(FILTER_SEARCH_COMPONENT, []).component( - 'filterSearch', - react2angular(withErrorBoundary(FilterSearch, 'filterSearch'), ['helpKey', 'value', 'onSearchChange', 'onBlur']), -); diff --git a/packages/core/src/core.module.ts b/packages/core/src/core.module.ts index aafdd1750fb..565b56a3a25 100644 --- a/packages/core/src/core.module.ts +++ b/packages/core/src/core.module.ts @@ -68,7 +68,6 @@ import { SUBNET_MODULE } from './subnet/subnet.module'; import { FIREWALL_LABEL_COMPONENT } from './securityGroup/label/firewallLabel.component'; import { LABEL_FILTER_COMPONENT } from './cluster/filter/labelFilter.component'; -import { FILTER_SEARCH_COMPONENT } from './cluster/filter/filterSearch.component'; import { WIDGETS_MODULE } from './widgets/widgets.module'; @@ -135,7 +134,6 @@ module(CORE_MODULE, [ INTERCEPTOR_MODULE, LABEL_FILTER_COMPONENT, - FILTER_SEARCH_COMPONENT, LOAD_BALANCER_MODULE, FUNCTION_MODULE, MANAGED_RESOURCE_CONFIG,