From b2692134df31b29cc3c8275e4e0cdb0448a8c292 Mon Sep 17 00:00:00 2001 From: Hornebom Date: Wed, 24 May 2023 14:34:27 +0200 Subject: [PATCH] conditionally display create asset link (#1415) --- .../src/pages/IssuerPool/Assets/CreateLoan.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/centrifuge-app/src/pages/IssuerPool/Assets/CreateLoan.tsx b/centrifuge-app/src/pages/IssuerPool/Assets/CreateLoan.tsx index bfd75f9746..57970be880 100644 --- a/centrifuge-app/src/pages/IssuerPool/Assets/CreateLoan.tsx +++ b/centrifuge-app/src/pages/IssuerPool/Assets/CreateLoan.tsx @@ -362,11 +362,13 @@ function IssuerCreateLoan() { maxLength={100} disabled={!templateId} /> - - - Create template - - + {!templateId && ( + + + Create template + + + )}