) => {
const results = row.original.Paths?.map((path: Path) => {
const isHttp = isHTTP(row.original.TLS || [], path.Host);
return (
{link(path.Host, path.Path, isHttp)}
{`${path.ServiceName}:${path.Port}`}
{!path.HasService && (
Service doesn't exist
)}
);
});
return results || ;
},
id: 'ingressRules',
disableFilters: true,
canHide: true,
disableSortBy: true,
};