Skip to content

Commit 2f1e2ac

Browse files
Merge pull request #42 from Exabyte-io/chore/SOF-1549
chore/SOF-1549: Enable user to specify target k-point density per 1/Angstrom
2 parents 19980d3 + 708c510 commit 2f1e2ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/context/json_schema_provider.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ class JSONSchemaFormDataProvider extends ContextProvider {
4848
const schema = this.uiSchema;
4949
return _.each(schema, (v, k, l) => {
5050
l[k] = { ...v, ...this.defaultFieldStyles };
51-
// retain any prior class attributes
52-
l[k].classNames = `${v.classNames} ${this.defaultClassNames}`;
51+
l[k].classNames = `${v.classNames || ""} ${this.defaultClassNames || ""}`;
52+
return null;
5353
});
5454
}
5555
}

0 commit comments

Comments
 (0)