Fixed bug where a weekly rrule string without a BYDAY would result in the UI throwing a TypeError (#14182)

This commit is contained in:
Michael Abashian 2023-06-28 11:10:49 -04:00 committed by GitHub
parent aed96fb365
commit bd8108b27c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,7 +94,7 @@ export default function FrequencyDetails({
value={getRunEveryLabel()}
dataCy={`${prefix}-run-every`}
/>
{type === 'week' ? (
{type === 'week' && options.daysOfWeek ? (
<Detail
label={t`On days`}
value={options.daysOfWeek