diff --git a/ui-common/src/components/ServiceMapModal/ServiceMapModal.module.sass b/ui-common/src/components/ServiceMapModal/ServiceMapModal.module.sass index adb1503d8..6e496aafc 100644 --- a/ui-common/src/components/ServiceMapModal/ServiceMapModal.module.sass +++ b/ui-common/src/components/ServiceMapModal/ServiceMapModal.module.sass @@ -34,8 +34,6 @@ font-weight: 600 margin-right: 35px - & .actions - .graphSection flex: 85% diff --git a/ui-common/src/components/ServiceMapModal/ServiceMapModal.tsx b/ui-common/src/components/ServiceMapModal/ServiceMapModal.tsx index 4d267bd1e..c34169115 100644 --- a/ui-common/src/components/ServiceMapModal/ServiceMapModal.tsx +++ b/ui-common/src/components/ServiceMapModal/ServiceMapModal.tsx @@ -33,6 +33,11 @@ const modalStyle = { padding: "1px 1px", paddingBottom: "15px" }; + +const protocolDisplayNameMap = { + "GQL": "GraphQL" +} + interface LegentLabelProps { color: string, name: string @@ -119,7 +124,11 @@ export const ServiceMapModal: React.FC = ({ isOpen, onClos const getProtocolsForFilter = useMemo(() => { return serviceMapApiData.edges.reduce((returnArr, currentValue, currentIndex, array) => { if (!returnArr.find(prot => prot.key === currentValue.protocol.abbr)) - returnArr.push({ key: currentValue.protocol.abbr, value: currentValue.protocol.abbr, component: }) + returnArr.push({ + key: currentValue.protocol.abbr, value: currentValue.protocol.abbr, + component: + }) return returnArr }, new Array()) }, [serviceMapApiData]) @@ -221,12 +230,12 @@ export const ServiceMapModal: React.FC = ({ isOpen, onClos
+ inputSearchClass={styles.servicesFilterSearch} isFilterable={false} />
+ checkBoxWidth="5%" checkedValues={checkedServices} setCheckedValues={onServiceChanges} inputSearchClass={styles.servicesFilterSearch} />