From f836fd3da00e78d2542a7831b5c31d215b7f5802 Mon Sep 17 00:00:00 2001 From: Tudor Stanciu Date: Wed, 21 Sep 2022 01:26:59 +0300 Subject: [PATCH] ExceptionsCard - null keys bug fix --- .../options/components/advanced/exceptions/ExceptionsCard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/forwards/options/components/advanced/exceptions/ExceptionsCard.js b/src/features/forwards/options/components/advanced/exceptions/ExceptionsCard.js index 24371ae..8f2ae99 100644 --- a/src/features/forwards/options/components/advanced/exceptions/ExceptionsCard.js +++ b/src/features/forwards/options/components/advanced/exceptions/ExceptionsCard.js @@ -29,7 +29,7 @@ const ExceptionsCard = ({ exceptions }) => { const exceptionsInternal = exceptions.map(z => { const result = { match: z.match }; - const keys = [...z.keys]; + const keys = z.keys ? [...z.keys] : []; if (z.key) { keys.unshift(z.key); }