From e7a0fe167cf9f30aa80a8e632cc34e7f7adf692e Mon Sep 17 00:00:00 2001 From: yzamir Date: Wed, 20 Sep 2023 11:47:03 +0300 Subject: [PATCH] Hide chart for 251 Signed-off-by: yzamir --- .../tabs/Details/ForkliftControllerDetailsTab.tsx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/packages/forklift-console-plugin/src/modules/Overview/views/overview/tabs/Details/ForkliftControllerDetailsTab.tsx b/packages/forklift-console-plugin/src/modules/Overview/views/overview/tabs/Details/ForkliftControllerDetailsTab.tsx index 80ae808bc..85ab96eca 100644 --- a/packages/forklift-console-plugin/src/modules/Overview/views/overview/tabs/Details/ForkliftControllerDetailsTab.tsx +++ b/packages/forklift-console-plugin/src/modules/Overview/views/overview/tabs/Details/ForkliftControllerDetailsTab.tsx @@ -7,6 +7,11 @@ import { Flex, FlexItem } from '@patternfly/react-core'; import { ChartsCard } from './cards/ChartsCard'; import { ConditionsCard, MigrationsCard, OperatorCard, OverviewCard, SettingsCard } from './cards'; +/** + * Due to QE capacity we will hide the chart in 2.5.1 + */ +const HIDE_FOR_2_5_1 = true; + interface ForkliftControllerDetailsTabProps extends RouteComponentProps { obj: V1beta1ForkliftController; ns?: string; @@ -44,9 +49,11 @@ export const ForkliftControllerDetailsTab: React.FC - - - + {!HIDE_FOR_2_5_1 && ( + + + + )}