Ensures hidden property is properly converted from string input to boolean value when saving

This commit is contained in:
aspen 2025-09-11 07:01:12 +12:00
parent 30a8f3397e
commit 92d2e4b3a9

View file

@ -240,6 +240,7 @@ export default {
return str === 'true';
};
if (newItem.tags) newItem.tags = strToTags(newItem.tags);
if (newItem.hidden !== undefined) newItem.hidden = strToBool(newItem.hidden);
if (newItem.statusCheck) newItem.statusCheck = strToBool(newItem.statusCheck);
if (newItem.statusCheckAllowInsecure) {
newItem.statusCheckAllowInsecure = strToBool(newItem.statusCheckAllowInsecure);