String to Bool for statusCheckAllowInsecure on save

This commit is contained in:
Brendan O'Leary 2021-11-28 23:20:07 -05:00
parent 41cdc394a7
commit 917608c680

View File

@ -227,6 +227,7 @@ export default {
};
if (newItem.tags) newItem.tags = strToTags(newItem.tags);
if (newItem.statusCheck) newItem.statusCheck = strToBool(newItem.statusCheck);
if (newItem.statusCheckAllowInsecure) newItem.statusCheckAllowInsecure = strToBool(newItem.statusCheckAllowInsecure);
// if (newItem.hotkey) newItem.hotkey = parseInt(newItem.hotkey, 10);
return newItem;
},