From 082dd7622b7f04846e8395b4398ffd9b2d32b262 Mon Sep 17 00:00:00 2001 From: Anthony Geourjon <anthony.geourjon@tetras-libre.fr> Date: Mon, 6 Feb 2023 17:30:06 +0100 Subject: [PATCH] Choose automatically the right language --- src/components/AnnotationManifestsAccordion.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AnnotationManifestsAccordion.js b/src/components/AnnotationManifestsAccordion.js index 169fb03c3..84eaa81ab 100644 --- a/src/components/AnnotationManifestsAccordion.js +++ b/src/components/AnnotationManifestsAccordion.js @@ -129,7 +129,7 @@ export class AnnotationManifestsAccordion extends Component { /> */} <CardContent> <Typography gutterBottom variant="h5" component="h2"> - {manifest.label ? manifest.label.en : manifest.id} + { manifest.label ? manifest.label[language] : manifest.id } </Typography> </CardContent> </CardActionArea> -- GitLab