Neues Schema wird nun wieder richtig erzeugt

This commit is contained in:
2026-02-15 11:25:35 +00:00
parent decdd92afe
commit e8382d3c75
2 changed files with 3 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ document.addEventListener('DOMContentLoaded', async function () {
schema.data[parseInt(field.id.slice(2))-1].einheit = status === true ? curEinheit : 0
await storeData(schema)
fillSchema(schema)
if (e.srcElement.id === 'bt35') {
if (field.id === 'bt35') {
let ldt = DateTime.fromISO(d)
ldt = ldt.plus({day: 1})
await initSchema(ldt.toFormat('y-LL-dd'))