diff --git a/ui/src/main/webapp/components/table/CustomTable.jsx b/ui/src/main/webapp/components/table/CustomTable.jsx index a44c2d4cd..a531fe301 100755 --- a/ui/src/main/webapp/components/table/CustomTable.jsx +++ b/ui/src/main/webapp/components/table/CustomTable.jsx @@ -46,9 +46,11 @@ function CustomTable({ }); const serviceToStyleMap = {}; - unifiedConfigs.pages.inputs.services.forEach((x) => { - serviceToStyleMap[x.name] = x.style === STYLE_PAGE ? STYLE_PAGE : STYLE_MODAL; - }); + if (page === PAGE_INPUT) { + unifiedConfigs.pages.inputs.services.forEach((x) => { + serviceToStyleMap[x.name] = x.style === STYLE_PAGE ? STYLE_PAGE : STYLE_MODAL; + }); + } const query = useQuery();