mirror of
https://github.com/Lissy93/dashy.git
synced 2025-12-06 16:43:13 +01:00
Ensures hidden property is properly converted from string input to boolean value when saving
This commit is contained in:
parent
30a8f3397e
commit
92d2e4b3a9
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue