From a35ffcfd3f1370b01c27b2a534bfb45b8bd152fc Mon Sep 17 00:00:00 2001 From: Bruno Lemos Date: Mon, 20 Jan 2020 18:29:45 -0300 Subject: [PATCH] Remove feedback input from AddColumn modals Some people write the repo name on it --- .../src/components/columns/ModalColumn.tsx | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/packages/components/src/components/columns/ModalColumn.tsx b/packages/components/src/components/columns/ModalColumn.tsx index 469a10388..4f79c2cc2 100644 --- a/packages/components/src/components/columns/ModalColumn.tsx +++ b/packages/components/src/components/columns/ModalColumn.tsx @@ -131,15 +131,19 @@ export const ModalColumn = React.memo((props: ModalColumnProps) => { > {children} - - - + {!(['ADD_COLUMN', 'ADD_COLUMN_DETAILS'] as Array< + ModalPayload['name'] + >).includes(name) && ( + + + + )}