diff --git a/web/packages/design/src/Link/Link.jsx b/web/packages/design/src/Link/Link.jsx
index 957be80a5f7be..260c31f85094b 100644
--- a/web/packages/design/src/Link/Link.jsx
+++ b/web/packages/design/src/Link/Link.jsx
@@ -31,7 +31,6 @@ const StyledButtonLink = styled.a.attrs({
rel: 'noreferrer',
})`
color: ${({ theme }) => theme.colors.buttons.link.default};
- font-weight: normal;
background: none;
text-decoration: underline;
text-transform: none;
diff --git a/web/packages/shared/components/AccessRequests/NewRequest/RequestCheckout/RequestCheckout.story.tsx b/web/packages/shared/components/AccessRequests/NewRequest/RequestCheckout/RequestCheckout.story.tsx
index 9a9e451d2218f..98b11c02f228e 100644
--- a/web/packages/shared/components/AccessRequests/NewRequest/RequestCheckout/RequestCheckout.story.tsx
+++ b/web/packages/shared/components/AccessRequests/NewRequest/RequestCheckout/RequestCheckout.story.tsx
@@ -152,6 +152,20 @@ export const FailedResourceRequest = () => (
);
+export const FailedUnsupportedKubeResourceKind = () => (
+
+
+
+);
+
export const Success = () => (
({
createAttempt.status === 'processing' ||
fetchResourceRequestRolesAttempt.status === 'processing';
- const numResourcesSelected = data.filter(item =>
- excludeKubeClusterWithNamespaces(item, data)
- );
+ const numResourcesSelected = data.filter(
+ item => !isKubeClusterWithNamespaces(item, data)
+ ).length;
const DefaultHeader = () => {
return (
@@ -233,8 +233,8 @@ export function RequestCheckout({
/>
- {numResourcesSelected.length}{' '}
- {pluralize(numResourcesSelected.length, 'Resource')} Selected
+ {numResourcesSelected} {pluralize(numResourcesSelected, 'Resource')}{' '}
+ Selected
@@ -297,8 +297,8 @@ export function RequestCheckout({
You can only request Kubernetes resource kind{' '}
{unsupportedKubeRequestModes} for cluster{' '}
- {affectedKubeClusterName}, but the web UI does not support these
- kinds yet. Use the{' '}
+ {affectedKubeClusterName}, but is not supported through this UI.
+ Use the{' '}
a.kind === 'namespace' && a.id == currItem.id)
- )
+ item.kind === 'kube_cluster' &&
+ allItems.find(a => a.kind === 'namespace' && a.id == item.id)
);
}