From 475abec08b0ae786bc2176a16fc3cae434a68e26 Mon Sep 17 00:00:00 2001 From: Daniel Ternyak Date: Thu, 31 Dec 2020 03:11:13 -0600 Subject: [PATCH] move kyc acceptance to post approval --- admin/src/components/ProposalDetail/index.tsx | 93 +++++++++++-------- 1 file changed, 56 insertions(+), 37 deletions(-) diff --git a/admin/src/components/ProposalDetail/index.tsx b/admin/src/components/ProposalDetail/index.tsx index eb182b8a..80065bf9 100644 --- a/admin/src/components/ProposalDetail/index.tsx +++ b/admin/src/components/ProposalDetail/index.tsx @@ -274,38 +274,28 @@ class ProposalDetailNaked extends React.Component { description={

Please review this proposal and render your judgment.

- {!p.kycApproved ? ( + + <> - ) : ( - <> - - - - )} + + +
- } - /> + <> + {!p.kycApproved ? ( + +

+ Please wait until an Admin has marked KYC approved before proceeding + with payouts. +

+ + + } + /> + ) : ( + +

An arbiter is required to review milestone payout requests.

+ + + } + /> + )} + ); const renderNominatedArbiter = () => @@ -514,6 +531,8 @@ class ProposalDetailNaked extends React.Component { ); + console.log(p); + return (