From 621f1edd3d91f876c43a7bd23b5e4c43479aa30f Mon Sep 17 00:00:00 2001 From: amnambiar Date: Fri, 29 Sep 2023 20:39:11 +0530 Subject: [PATCH 1/3] PLT-7458 Disable form while github repo verification in progress --- src/components/RepoAccessStatus/RepoAccessStatus.tsx | 6 ++++-- .../AuditorRunTestForm/AuditorRunTestForm.tsx | 10 +++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/components/RepoAccessStatus/RepoAccessStatus.tsx b/src/components/RepoAccessStatus/RepoAccessStatus.tsx index c315bd43..8716467b 100644 --- a/src/components/RepoAccessStatus/RepoAccessStatus.tsx +++ b/src/components/RepoAccessStatus/RepoAccessStatus.tsx @@ -5,14 +5,16 @@ import { ACCESS_STATUS } from "./repoAccessStatus.config"; const RepoAccessStatus: React.FC<{ status: string; statusText?: string; -}> = ({ status, statusText = "" }) => { + classes?: string; + onClick:() => void +}> = ({ status, statusText = "", classes, onClick }) => { if (!status) { return null } const { color, className, ...imgProps } = ACCESS_STATUS[status]; return ( -