From 55210e1f82417c20b1ceb2efc1377226af8315bc Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 11 Oct 2021 18:30:58 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Draw=20the=20error=20row=20only?= =?UTF-8?q?=20if=20there's=20a=20`operationError`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/group/GroupCreateBox.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/group/GroupCreateBox.tsx b/frontend/src/components/group/GroupCreateBox.tsx index e782aa5..ddd7223 100644 --- a/frontend/src/components/group/GroupCreateBox.tsx +++ b/frontend/src/components/group/GroupCreateBox.tsx @@ -86,9 +86,13 @@ export function GroupCreateBox({viewSet}: GroupCreateBoxProps): JSX.Element | nu }} {...access} /> - - - + { + viewSet.operationError ? + + + + : null + } Create