From 126cf9a7e846ea12563a60e2d59a6b4d04a09fbd Mon Sep 17 00:00:00 2001 From: Fabio Bonelli Date: Wed, 31 Jan 2024 15:23:05 +0100 Subject: [PATCH] fix: right icon when the first section is collapsed --- src/app/components/EditorForm.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/EditorForm.jsx b/src/app/components/EditorForm.jsx index 6470dddf..08d3cc43 100644 --- a/src/app/components/EditorForm.jsx +++ b/src/app/components/EditorForm.jsx @@ -34,7 +34,7 @@ const renderBlockItems = (items, id, t) => { const renderHeader = (props) => { let img_arrow = img_accordion_closed; - if (props.activeSection == props.block.index - 1) { + if (props.activeSection[0] == props.block.index - 1) { img_arrow = img_accordion_open; } return (