neuland-ingolstadt / neuland.app

A free & open source, web-based replacement for the official app of the Technische Hochschule Ingolstadt built with React and Next.js.
https://neuland.app
GNU Affero General Public License v3.0
36 stars 33 forks source link

🐛 fix food disclaimer for non-translated meals #324

Closed BuildmodeOne closed 1 year ago

BuildmodeOne commented 1 year ago

🤖 Generated by Copilot at ccdac49

Summary

🐛🌐🎨

Fixed a UI bug in food.jsx that showed "false" instead of a translation warning. Used a ternary operator to conditionally render the warning text.

showMealDetails? Ternary operator shows Translation warning

Walkthrough