mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-26 10:24:40 +03:00
String to Bool for statusCheckAllowInsecure on save
This commit is contained in:
parent
41cdc394a7
commit
917608c680
@ -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;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user