🔀 Merge pull request #345 from olearycrew/344-allow-insecure-type-issue

String to Bool for statusCheckAllowInsecure on save
Fixes #344
This commit is contained in:
Alicia Sykes 2021-11-29 11:52:33 +00:00 committed by GitHub
commit c57352ecba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -227,6 +227,9 @@ 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;
},