From 152dee425df4db54e4963a22ee07a1b69c449efb Mon Sep 17 00:00:00 2001 From: josemigallas Date: Thu, 14 Dec 2023 14:01:32 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=9B=EF=B8=8F=20removes=20isShared=20from?= =?UTF-8?q?=20toolbar=20button=20props=20to=20prevent=20browser=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/javascript/src/Common/components/TableToolbar.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/javascript/src/Common/components/TableToolbar.tsx b/app/javascript/src/Common/components/TableToolbar.tsx index cf7a363ca7..aad99a5971 100644 --- a/app/javascript/src/Common/components/TableToolbar.tsx +++ b/app/javascript/src/Common/components/TableToolbar.tsx @@ -123,7 +123,8 @@ const TableToolbar: FunctionComponent = ({ - {overflow.filter(i => i.isShared).map(({ label, ...btnProps }) => ( + {/* eslint-disable-next-line @typescript-eslint/no-unused-vars -- Remove isShared from button props */} + {overflow.filter(i => i.isShared).map(({ label, isShared, ...btnProps }) => (