From 58c2ae23c19782e34c9cf2d97e65b700e9b4ad06 Mon Sep 17 00:00:00 2001 From: Arnaud AMBROSELLI Date: Wed, 6 Sep 2023 16:46:13 +0200 Subject: [PATCH] fix: indentation --- dashboard/src/components/DocumentsOrganizer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/src/components/DocumentsOrganizer.tsx b/dashboard/src/components/DocumentsOrganizer.tsx index 88b2d2298..561be4bcc 100644 --- a/dashboard/src/components/DocumentsOrganizer.tsx +++ b/dashboard/src/components/DocumentsOrganizer.tsx @@ -121,7 +121,7 @@ export default function DocumentsOrganizer({ movable={false} position={0} folder={documentsTree} - level={-1} // -1 because root is not displayed and we want all the root items to be stuck to the left + level={rootFolderName === 'Dossier Racine' ? -1 : 0} // -1 because root is not displayed and we want all the root items to be stuck to the left htmlId={htmlId} initShowOpen onListChange={onListChange}