Skip to content

Commit

Permalink
Merge pull request #1338 from culturecreates/hotfix/issue-1336
Browse files Browse the repository at this point in the history
Hotfix/issue 1336
  • Loading branch information
AbhishekPAnil authored Sep 19, 2024
2 parents e5ff5de + 7e8e58f commit f0bcd3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/bilingual.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const contentLanguageBilingual = ({ calendarContentLanguage, data, requir
**/

if (!data) return '';
if (typeof data == 'string') return data;

if (requiredLanguageKey && data[requiredLanguageKey]) {
return data[requiredLanguageKey];
Expand Down

0 comments on commit f0bcd3c

Please sign in to comment.