Skip to content

Commit

Permalink
🐛 fix food disclaimer for non-translated meals
Browse files Browse the repository at this point in the history
  • Loading branch information
BuildmodeOne committed Sep 28, 2023
1 parent 4f4cfd5 commit ccdac49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rogue-thi-app/pages/food.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ export default function Mensa () {

<p>
<h6>{t('foodModal.warning.title')}</h6>
{`${isTranslated(showMealDetails) && `${t('foodModal.translation.warning')} `}${t('foodModal.warning.text')}`}
{`${isTranslated(showMealDetails) ? `${t('foodModal.translation.warning')} ` : ''}${t('foodModal.warning.text')}`}
</p>

{isTranslated(showMealDetails) && (
Expand Down

0 comments on commit ccdac49

Please sign in to comment.