Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

Linting fix

Brendan O'Leary02180c5c23e8
diff --git a/src/components/InteractiveEditor/EditItem.vue b/src/components/InteractiveEditor/EditItem.vue
index c5139dbd..14c7bfa0 100644
--- a/src/components/InteractiveEditor/EditItem.vue
+++ b/src/components/InteractiveEditor/EditItem.vue
@@ -227,7 +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.statusCheckAllowInsecure) {
+ newItem.statusCheckAllowInsecure = strToBool(newItem.statusCheckAllowInsecure);
+ }
// if (newItem.hotkey) newItem.hotkey = parseInt(newItem.hotkey, 10);
return newItem;
},