mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fix schedule helper form when resizing or dragging to or past midnight (#17900)
This commit is contained in:
parent
f689eed073
commit
709a63e6da
@ -340,6 +340,7 @@ class HaScheduleForm extends LitElement {
|
||||
});
|
||||
|
||||
if (!isSameDay(start, end)) {
|
||||
this.requestUpdate(`_${day}`);
|
||||
info.revert();
|
||||
}
|
||||
}
|
||||
@ -374,6 +375,7 @@ class HaScheduleForm extends LitElement {
|
||||
});
|
||||
|
||||
if (!isSameDay(start, end)) {
|
||||
this.requestUpdate(`_${day}`);
|
||||
info.revert();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user