Fix conditional to check for undefined
This commit is contained in:
1 parent
b33a4d0b1d
commit
e1282bb870
1 file changed
+1
-1
@@ -266,7 +266,7 @@ export default class ApplicationSerializer extends RESTSerializer {
|
||||
// FIXME: This could be improved
|
||||
if (isNestedSecret) {
|
||||
hash[name] = null;
|
||||
if (attributeValue) {
|
||||
if (typeof attributeValue != 'undefined') {
|
||||
hash[name] = attributeValue;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user