From ba00be300e2b78cfc7ab4d5372727accb7a80cce Mon Sep 17 00:00:00 2001 From: Andrew P Maney Date: Wed, 25 Mar 2020 04:41:55 -0700 Subject: [PATCH] RRule: handle undefined options.byday Merge of #108 --- src/widgets/RRule.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/RRule.tsx b/src/widgets/RRule.tsx index 0c0374d..acdc41e 100644 --- a/src/widgets/RRule.tsx +++ b/src/widgets/RRule.tsx @@ -103,7 +103,7 @@ function sanitizeByDay(item: string | string[] | undefined) { return value; }); } else { - return ret; + return []; } }