fix: KoePi Tage-Countdown entfernt, nur noch echtes Start-/Enddatum verwendet
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user