From 73fd1cdfe009e80d3ea79351bf426481b180e9a3 Mon Sep 17 00:00:00 2001 From: Guangqing Tang <40620519+gt2345@users.noreply.github.com> Date: Thu, 14 Mar 2024 13:10:54 -0500 Subject: [PATCH] feat: Add multi RM name to K8s (#8993) --- webui/react/src/components/ResourcePoolCard.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webui/react/src/components/ResourcePoolCard.tsx b/webui/react/src/components/ResourcePoolCard.tsx index d0ec297c1ce..d27a287f1e8 100644 --- a/webui/react/src/components/ResourcePoolCard.tsx +++ b/webui/react/src/components/ResourcePoolCard.tsx @@ -141,7 +141,8 @@ const ResourcePoolCard: React.FC = ({ acc[attribute.label] = value; if (!isAux && attribute.key === 'auxContainerCapacityPerAgent') delete acc[attribute.label]; if ( - (pool.type === V1ResourcePoolType.K8S && attribute.key !== 'type') || + (pool.type === V1ResourcePoolType.K8S && + !['type', 'resourceManagerName'].includes(attribute.key)) || (attribute.key === 'resourceManagerName' && !multiResourceManagers.getOrElse(false)) ) { delete acc[attribute.label];