diff --git a/webapp/public/locales/en/main.json b/webapp/public/locales/en/main.json index ef640365b2..e839856832 100644 --- a/webapp/public/locales/en/main.json +++ b/webapp/public/locales/en/main.json @@ -637,6 +637,7 @@ "studies.copySuffix": "Copy", "studies.folder": "Folder", "studies.filters.strictfolder": "Show only direct folder children", + "studies.filters.showAllDescendants": "Show all children", "studies.scanFolder": "Scan folder", "studies.requestDeepScan": "Scan the folder recursively (may be long) ?", "studies.moveStudy": "Move", diff --git a/webapp/public/locales/fr/main.json b/webapp/public/locales/fr/main.json index e9cbe8465d..321bf2b57b 100644 --- a/webapp/public/locales/fr/main.json +++ b/webapp/public/locales/fr/main.json @@ -637,6 +637,7 @@ "studies.copySuffix": "Copie", "studies.folder": "Dossier", "studies.filters.strictfolder": "Afficher uniquement les descendants directs", + "studies.filters.showAllDescendants": "Afficher tous les descendants", "studies.scanFolder": "Scanner le dossier", "studies.requestDeepScan": "Scanner le dossier récursivement (ça peut être long) ?", "studies.moveStudy": "Déplacer", diff --git a/webapp/src/components/App/Studies/StudiesList/index.tsx b/webapp/src/components/App/Studies/StudiesList/index.tsx index 7b5e565881..3a88597f38 100644 --- a/webapp/src/components/App/Studies/StudiesList/index.tsx +++ b/webapp/src/components/App/Studies/StudiesList/index.tsx @@ -261,17 +261,21 @@ function StudiesList(props: StudiesListProps) { ({`${studyIds.length} ${t("global.studies").toLowerCase()}`}) - - {strictFolderFilter ? ( + + {strictFolderFilter ? ( + - ) : ( + + ) : ( + - )} - + + )} + {folder !== "root" && ( setConfirmFolderScan(true)}>