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

@@ -1,7 +1,7 @@
{ {
"name": "spritzschema", "name": "spritzschema",
"version": "1.3.2", "version": "1.3.3",
"date": "2026-01-24", "date": "2026-02-15",
"type": "module", "type": "module",
"private": true, "private": true,
"scripts": { "scripts": {

View File

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