mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-27 19:03:39 +03:00
🔀 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:
commit
c57352ecba
@ -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;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user