fix(core): resolve syntax errors in v1.1.0 preventing load (v1.1.1)

This commit is contained in:
2026-02-16 19:00:43 +01:00
parent d6a2236a5b
commit d82dd31bed
7 changed files with 1585 additions and 1580 deletions

View File

@@ -1,3 +1,6 @@
## v1.1.1 (2026-02-16)
- **Fix**: Kritischer Fehler behoben, der das Laden des Wrappers verhinderte. 🐛
## v1.1.0 (2026-02-16) ## v1.1.0 (2026-02-16)
- **Feature: Bestell-Countdown**: Zeigt 1 Stunde vor Bestellschluss einen roten Countdown an. ⏳ - **Feature: Bestell-Countdown**: Zeigt 1 Stunde vor Bestellschluss einen roten Countdown an. ⏳
- **Feature: Smart Highlights**: Markiere deine Lieblingsspeisen (z.B. "Schnitzel", "Vegetarisch"), damit sie leuchten. 🌟 - **Feature: Smart Highlights**: Markiere deine Lieblingsspeisen (z.B. "Schnitzel", "Vegetarisch"), damit sie leuchten. 🌟

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

14
dist/install.html vendored

File diff suppressed because one or more lines are too long

View File

@@ -1417,7 +1417,7 @@ body {
<div class="brand"> <div class="brand">
<span class="material-icons-round logo-icon">restaurant_menu</span> <span class="material-icons-round logo-icon">restaurant_menu</span>
<div class="header-left"> <div class="header-left">
<h1>Kantinen Übersicht <small style="font-size: 0.6em; opacity: 0.7; font-weight: 400;">v1.1.0</small></h1> <h1>Kantinen Übersicht <small style="font-size: 0.6em; opacity: 0.7; font-weight: 400;">v1.1.1</small></h1>
<div id="last-updated-subtitle" class="subtitle"></div> <div id="last-updated-subtitle" class="subtitle"></div>
</div> </div>
</div> </div>
@@ -2002,7 +2002,6 @@ body {
} }
// Refresh menu data to update UI // Refresh menu data to update UI
loadMenuDataFromAPI(); loadMenuDataFromAPI();
break; // One refresh is enough
} }
} }
} catch (err) { } catch (err) {
@@ -2011,6 +2010,7 @@ body {
await new Promise(r => setTimeout(r, 200)); await new Promise(r => setTimeout(r, 200));
} }
} }
}
// === Highlight Management === // === Highlight Management ===
let highlightTags = JSON.parse(localStorage.getItem('kantine_highlightTags') || '[]'); let highlightTags = JSON.parse(localStorage.getItem('kantine_highlightTags') || '[]');
@@ -2867,7 +2867,6 @@ body {
return date.getFullYear(); return date.getFullYear();
} }
}
function translateDay(englishDay) { function translateDay(englishDay) {
const map = { Monday: 'Montag', Tuesday: 'Dienstag', Wednesday: 'Mittwoch', Thursday: 'Donnerstag', Friday: 'Freitag', Saturday: 'Samstag', Sunday: 'Sonntag' }; const map = { Monday: 'Montag', Tuesday: 'Dienstag', Wednesday: 'Mittwoch', Thursday: 'Donnerstag', Friday: 'Freitag', Saturday: 'Samstag', Sunday: 'Sonntag' };

View File

@@ -651,7 +651,6 @@
} }
// Refresh menu data to update UI // Refresh menu data to update UI
loadMenuDataFromAPI(); loadMenuDataFromAPI();
break; // One refresh is enough
} }
} }
} catch (err) { } catch (err) {
@@ -660,6 +659,7 @@
await new Promise(r => setTimeout(r, 200)); await new Promise(r => setTimeout(r, 200));
} }
} }
}
// === Highlight Management === // === Highlight Management ===
let highlightTags = JSON.parse(localStorage.getItem('kantine_highlightTags') || '[]'); let highlightTags = JSON.parse(localStorage.getItem('kantine_highlightTags') || '[]');
@@ -1516,7 +1516,6 @@
return date.getFullYear(); return date.getFullYear();
} }
}
function translateDay(englishDay) { function translateDay(englishDay) {
const map = { Monday: 'Montag', Tuesday: 'Dienstag', Wednesday: 'Mittwoch', Thursday: 'Donnerstag', Friday: 'Freitag', Saturday: 'Samstag', Sunday: 'Sonntag' }; const map = { Monday: 'Montag', Tuesday: 'Dienstag', Wednesday: 'Mittwoch', Thursday: 'Donnerstag', Friday: 'Freitag', Saturday: 'Samstag', Sunday: 'Sonntag' };

View File

@@ -1 +1 @@
v1.1.0 v1.1.1