Skip to content

Commit

Permalink
fix(ZMS-3253): save amendment field overwrite in availability
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Fink authored and Thomas Fink committed Feb 20, 2025
1 parent c4115e5 commit 341674e
Show file tree
Hide file tree
Showing 4 changed files with 160 additions and 9 deletions.
1 change: 0 additions & 1 deletion zmsadmin/cache/.keep

This file was deleted.

6 changes: 3 additions & 3 deletions zmsadmin/js/page/availabilityDay/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@ class AvailabilityPage extends Component {
if (availability.tempId) {
delete sendAvailability.tempId;
}
if (sendAvailability.kind === 'new') {
sendAvailability.description = 'Öffnungszeit für Terminvergabe';
}
if (sendAvailability.kind === 'new' && sendAvailability.description.includes("Neue Öffnungszeit")) {
sendAvailability.description = sendAvailability.description.replace("Neue Öffnungszeit", "");
}
return {
...sendAvailability,
kind: availability.kind || 'default',
Expand Down
159 changes: 155 additions & 4 deletions zmsadmin/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion zmsadmin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"react-to-print": "^2.14.10",
"redux-json-schema": "^1.0.0",
"stream-http": "^3.2.0",
"svgo": "^3.3.2",
"url": "^0.11.0",
"util": "^0.12.5"
},
Expand All @@ -66,4 +67,4 @@
"chart.js": "^4.4.2",
"react-chartjs-2": "^5.2.0"
}
}
}

0 comments on commit 341674e

Please sign in to comment.