From e54429fdb3ac14055c4f1892a174e9b0dd2006c8 Mon Sep 17 00:00:00 2001 From: Anis SMAIL Date: Thu, 28 Nov 2024 11:35:55 +0100 Subject: [PATCH] fix(ui): fix build --- webapp/src/components/App/Studies/StudiesList/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webapp/src/components/App/Studies/StudiesList/index.tsx b/webapp/src/components/App/Studies/StudiesList/index.tsx index f05f83ef65..b111be325f 100644 --- a/webapp/src/components/App/Studies/StudiesList/index.tsx +++ b/webapp/src/components/App/Studies/StudiesList/index.tsx @@ -163,7 +163,7 @@ function StudiesList(props: StudiesListProps) { try { // Remove "/root" from the path const folder = folderList.slice(1).join("/"); - await scanFolder(folder, requestDeepscan); + await scanFolder(folder, requestDeepScan); setConfirmFolderScan(false); setRequestDeepScan(false); } catch (e) { @@ -172,7 +172,7 @@ function StudiesList(props: StudiesListProps) { }; const handleDeepScanCheckboxChange = () => { - setRequestDeepScan(!requestDeepscan); + setRequestDeepScan(!requestDeepScan); }; //////////////////////////////////////////////////////////////// @@ -296,7 +296,7 @@ function StudiesList(props: StudiesListProps) { > {`${t("studies.scanFolder")} ${folder}?`} } + control={} label={t("studies.requestDeepScan")} onChange={handleDeepScanCheckboxChange} />{" "}