Skip to content

Commit

Permalink
Fix schedule helper form when resizing or dragging to or past midnight (
Browse files Browse the repository at this point in the history
  • Loading branch information
karwosts authored Sep 11, 2023
1 parent f689eed commit 709a63e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/panels/config/helpers/forms/ha-schedule-form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ class HaScheduleForm extends LitElement {
});

if (!isSameDay(start, end)) {
this.requestUpdate(`_${day}`);
info.revert();
}
}
Expand Down Expand Up @@ -374,6 +375,7 @@ class HaScheduleForm extends LitElement {
});

if (!isSameDay(start, end)) {
this.requestUpdate(`_${day}`);
info.revert();
}
}
Expand Down

0 comments on commit 709a63e

Please sign in to comment.