fix: KoePi Tage-Countdown entfernt, nur noch echtes Start-/Enddatum verwendet

This commit is contained in:
2026-07-12 11:59:33 +02:00
parent 5b4b0b6908
commit a28b96b424
3 changed files with 8 additions and 7 deletions

View File

@@ -391,7 +391,7 @@ function publishKoepiState({ offers, changed }) {
// Lesbarer Mehrzeiler fürs Dashboard, zusätzlich zur strukturierten Liste
const listeText = list.length
? list.map(o => `${o.retailer}: ${o.price}${o.validity || o.dateRange ? ' (' + (o.validity || o.dateRange) + ')' : ''}`).join('\n')
? list.map(o => `${o.retailer}: ${o.price}${o.dateRange ? ' (' + o.dateRange + ')' : ''}`).join('\n')
: 'keine Angebote';
client.publish(`${BASE_TOPIC}/koepi/state`, state, { retain: true });