mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
updates to scheduler for immediate commands #1893
This commit is contained in:
@@ -200,7 +200,7 @@ const Scheduler: FC = () => {
|
||||
id: Math.floor(Math.random() * (Math.floor(200) - 100) + 100),
|
||||
active: false,
|
||||
deleted: false,
|
||||
flags: 0,
|
||||
flags: ScheduleFlag.SCHEDULE_DAY,
|
||||
time: '',
|
||||
cmd: '',
|
||||
value: '',
|
||||
@@ -283,7 +283,7 @@ const Scheduler: FC = () => {
|
||||
<Cell stiff>
|
||||
<Stack spacing={0.5} direction="row">
|
||||
<Divider orientation="vertical" flexItem />
|
||||
{si.flags === 0 ? (
|
||||
{si.flags === ScheduleFlag.SCHEDULE_IMMEDIATE ? (
|
||||
<></>
|
||||
) : si.flags < ScheduleFlag.SCHEDULE_TIMER ? (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user