From 2bbeff5421bbcd93d2f3a4eb19c9e7683ced24ea Mon Sep 17 00:00:00 2001
From: Matthias Lindinger <matthias.lindinger@bsb-muenchen.de>
Date: Thu, 17 Aug 2023 15:18:07 +0200
Subject: [PATCH] Fix selector for the manifest description or summary by
 considering the current language

---
 src/state/selectors/manifests.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/state/selectors/manifests.js b/src/state/selectors/manifests.js
index 496d84562..86adff018 100644
--- a/src/state/selectors/manifests.js
+++ b/src/state/selectors/manifests.js
@@ -322,9 +322,9 @@ export const getManifestTitle = createSelector(
 * @return {String|null}
 */
 export const getManifestDescription = createSelector(
-  [getManifestoInstance],
-  manifest => manifest
-    && manifest.getDescription().getValue(),
+  [getLocale, getManifestoInstance],
+  (locale, manifest) => manifest
+    && manifest.getDescription().getValue(locale),
 );
 
 /**
@@ -341,7 +341,7 @@ export const getManifestSummary = createSelector(
     getManifestLocale,
   ],
   (summary, locale) => summary
-    && PropertyValue.parse(summary, locale).getValue(),
+    && PropertyValue.parse(summary, locale).getValue(locale),
 );
 
 /**
-- 
GitLab