Fix undefined error
This commit is contained in:
parent
e94c7edb38
commit
3950482f34
|
@ -167,6 +167,9 @@ const popupExclusions = (() => {
|
||||||
}
|
}
|
||||||
|
|
||||||
function handlePopupSave(style) {
|
function handlePopupSave(style) {
|
||||||
|
if (typeof style.exclusions === 'undefined') {
|
||||||
|
style.exclusions = {};
|
||||||
|
}
|
||||||
const current = Object.keys(style.exclusions);
|
const current = Object.keys(style.exclusions);
|
||||||
const select = $('#popup-exclusions', messageBox.element);
|
const select = $('#popup-exclusions', messageBox.element);
|
||||||
const all = getMultiOptions({select});
|
const all = getMultiOptions({select});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user