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!

:green_heart: Fixes CI

Alicia Sykes016dfb17c4fe
diff --git a/src/components/FormElements/Radio.vue b/src/components/FormElements/Radio.vue
index f3415612..7fcb29f6 100644
--- a/src/components/FormElements/Radio.vue
+++ b/src/components/FormElements/Radio.vue
@@ -58,7 +58,6 @@ export default {
div.radio-container {
margin: 0.25rem auto;
display: flex;
- align-items: baseline;
flex-direction: row;
justify-content: space-between;
align-items: center;
diff --git a/src/components/FormElements/Select.vue b/src/components/FormElements/Select.vue
index 2c1410d8..9e4916f9 100644
--- a/src/components/FormElements/Select.vue
+++ b/src/components/FormElements/Select.vue
@@ -48,7 +48,6 @@ export default {
div.select-container {
margin: 0.25rem auto;
display: flex;
- align-items: baseline;
flex-direction: row;
justify-content: space-between;
align-items: center;
diff --git a/src/components/InteractiveEditor/EditAppConfig.vue b/src/components/InteractiveEditor/EditAppConfig.vue
index 7bb47e31..f4c97ea9 100644
--- a/src/components/InteractiveEditor/EditAppConfig.vue
+++ b/src/components/InteractiveEditor/EditAppConfig.vue
@@ -86,7 +86,7 @@ export default {
/* Remove any attribute which has an undefined value before saving */
removeUndefinedValues(rawAppConfig) {
const raw = rawAppConfig;
- const isEmpty = (value) => (value === undefined || value === {} || value === []);
+ const isEmpty = (value) => (value === undefined);
Object.keys(raw).forEach(key => isEmpty(raw[key]) && delete raw[key]);
return raw;
},