ExceptionsCard - null keys bug fix

master
Tudor Stanciu 2022-09-21 01:26:59 +03:00
parent 86931af2c4
commit f836fd3da0
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ const ExceptionsCard = ({ exceptions }) => {
const exceptionsInternal = exceptions.map(z => { const exceptionsInternal = exceptions.map(z => {
const result = { match: z.match }; const result = { match: z.match };
const keys = [...z.keys]; const keys = z.keys ? [...z.keys] : [];
if (z.key) { if (z.key) {
keys.unshift(z.key); keys.unshift(z.key);
} }