mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 03:06:41 +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)) {
|
if (!isSameDay(start, end)) {
|
||||||
|
this.requestUpdate(`_${day}`);
|
||||||
info.revert();
|
info.revert();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -374,6 +375,7 @@ class HaScheduleForm extends LitElement {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (!isSameDay(start, end)) {
|
if (!isSameDay(start, end)) {
|
||||||
|
this.requestUpdate(`_${day}`);
|
||||||
info.revert();
|
info.revert();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user