[#77] fixed occurences typo
This commit is contained in:
@@ -139,16 +139,14 @@ export default function RepeatEvent({
|
|||||||
setRepetition({
|
setRepetition({
|
||||||
freq: repetition.freq,
|
freq: repetition.freq,
|
||||||
interval: repetition.interval,
|
interval: repetition.interval,
|
||||||
occurence: Number(e.target.value),
|
occurences: 0,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (value === "on") {
|
if (value === "on") {
|
||||||
setRepetition({
|
setRepetition({
|
||||||
freq: repetition.freq,
|
freq: repetition.freq,
|
||||||
interval: repetition.interval,
|
interval: repetition.interval,
|
||||||
endDate: new Date(e.target.value)
|
endDate: new Date().toISOString().slice(0, 16),
|
||||||
.toISOString()
|
|
||||||
.slice(0, 16),
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
@@ -173,7 +171,7 @@ export default function RepeatEvent({
|
|||||||
setRepetition({
|
setRepetition({
|
||||||
freq: repetition.freq,
|
freq: repetition.freq,
|
||||||
interval: repetition.interval,
|
interval: repetition.interval,
|
||||||
occurence: Number(e.target.value),
|
occurences: Number(e.target.value),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
sx={{ width: 100 }}
|
sx={{ width: 100 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user