diff --git a/01-frontend/public/locales/de/translation.json b/01-frontend/public/locales/de/translation.json index 60e74d9..ebc8068 100644 --- a/01-frontend/public/locales/de/translation.json +++ b/01-frontend/public/locales/de/translation.json @@ -43,6 +43,7 @@ "name": "Name", "next": "Weiter", "noActiveOrders": "Keine laufenden Bestellungen.", + "noItemsFound": "Keine Artikel gefunden.", "noPreviousOrders": "Keine vergangenen Bestellungen.", "openSettings": "Einstellungen öffnen", "order": "Bestellung", diff --git a/01-frontend/public/locales/en/translation.json b/01-frontend/public/locales/en/translation.json index 36d73f1..27824d2 100644 --- a/01-frontend/public/locales/en/translation.json +++ b/01-frontend/public/locales/en/translation.json @@ -43,6 +43,7 @@ "name": "Name", "next": "Next", "noActiveOrders": "No active orders.", + "noItemsFound": "No Items found.", "noPreviousOrders": "No previous orders.", "openSettings": "Open settings", "order": "Order", diff --git a/01-frontend/src/pages/Home.tsx b/01-frontend/src/pages/Home.tsx index 501aee7..00d5299 100644 --- a/01-frontend/src/pages/Home.tsx +++ b/01-frontend/src/pages/Home.tsx @@ -538,9 +538,13 @@ export default function Home() {
{t('noItemsFound')}
+ ) : ( + visibleItems.map((item) => ( +