💚 Fixes CI

This commit is contained in:
Alicia Sykes 2021-10-26 23:18:55 +01:00
parent dde5b36abc
commit 016dfb17c4
3 changed files with 1 additions and 3 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;
},