From 3140a5c520f9d5fe0bc2bc0f75b61d531588716b Mon Sep 17 00:00:00 2001 From: Lisa Kim Date: Tue, 8 Oct 2024 23:12:43 -0700 Subject: [PATCH] Add temporary lint pleasers --- .../src/ui/AccessRequestCheckout/AccessRequestCheckout.tsx | 6 ++++++ .../src/ui/DocumentAccessRequests/NewRequest/NewRequest.tsx | 1 + 2 files changed, 7 insertions(+) diff --git a/web/packages/teleterm/src/ui/AccessRequestCheckout/AccessRequestCheckout.tsx b/web/packages/teleterm/src/ui/AccessRequestCheckout/AccessRequestCheckout.tsx index cad7f36eaf9bb..bf408a1a60d43 100644 --- a/web/packages/teleterm/src/ui/AccessRequestCheckout/AccessRequestCheckout.tsx +++ b/web/packages/teleterm/src/ui/AccessRequestCheckout/AccessRequestCheckout.tsx @@ -259,6 +259,12 @@ export function AccessRequestCheckout() { setPendingRequestTtl={setPendingRequestTtl} startTime={startTime} onStartTimeChange={onStartTimeChange} + // TODO: these are placeholders to satisy linters. + // There is a split PR that handles teleterm support + // that will be merged right after this one (once both are approved) + bulkToggleKubeResources={() => null} + fetchKubeNamespaces={() => null} + allowedKubeSubresourceKinds={[]} /> )} diff --git a/web/packages/teleterm/src/ui/DocumentAccessRequests/NewRequest/NewRequest.tsx b/web/packages/teleterm/src/ui/DocumentAccessRequests/NewRequest/NewRequest.tsx index daabd2bd41246..a65d3ffa78255 100644 --- a/web/packages/teleterm/src/ui/DocumentAccessRequests/NewRequest/NewRequest.tsx +++ b/web/packages/teleterm/src/ui/DocumentAccessRequests/NewRequest/NewRequest.tsx @@ -251,6 +251,7 @@ function toResourceMap(request: PendingAccessRequest): ResourceMap { db: {}, app: {}, saml_idp_service_provider: {}, + namespace: {}, }; if (request.kind === 'role') { request.roles.forEach(role => {