Skip to content

Commit

Permalink
SOF-6927: fix defaultData key
Browse files Browse the repository at this point in the history
  • Loading branch information
pranabdas committed Mar 8, 2024
1 parent f704285 commit 24b4a5d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@
"underscore.string": "^3.3.4"
},
"devDependencies": {
"@exabyte-io/ade.js": "git+https://github.com/Exabyte-io/ade.js.git#63eff517ad4c612c8769db68d91dc3244d7cb272",
"@exabyte-io/ade.js": "git+https://github.com/Exabyte-io/ade.js.git#0f69fd0504c90f59e9b89246915a0b119eac1c7b",
"@exabyte-io/application-flavors.js": "git+https://github.com/Exabyte-io/application-flavors.git#907ae373ab1867ced577428ebf81b1cdc695d1f7",
"@exabyte-io/code.js": "git+https://github.com/Exabyte-io/code.js.git#215e9e7b194c63422858d043be750fe023814329",
"@mat3ra/esse": "git+https://github.com/Exabyte-io/esse.git#332a9cc5c0853af610dd721dc976905637cf989e",
"@exabyte-io/eslint-config": "^2022.11.17-0",
"@exabyte-io/ide.js": "2022.7.28-1",
"@exabyte-io/made.js": "git+https://github.com/Exabyte-io/made.js.git#b507accab8ae3023125825c218bef4e834bf57ef",
"@exabyte-io/made.js": "git+https://github.com/Exabyte-io/made.js.git#51ef7f0f3e30249ac571fef4a4fee68f51f91b05",
"@exabyte-io/mode.js": "2023.11.22-0",
"chai": "^4.3.4",
"eslint": "7.32.0",
Expand Down
4 changes: 2 additions & 2 deletions src/context/providers/SpinMagneticContextProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class SpinMagneticContextProvider extends mix(JSONSchemaFormDataProvider)
this.uniqueElementsWithLabels?.length > 0
? this.uniqueElementsWithLabels[0]
: "",
starting_magnetization: 0.0,
value: 0.0,
},
];
}
Expand Down Expand Up @@ -67,7 +67,7 @@ export class SpinMagneticContextProvider extends mix(JSONSchemaFormDataProvider)
return {
$schema: "http://json-schema.org/draft-04/schema#",
title: "",
description: "Set starting magnetization.",
description: "Set starting magnetization, can have values in the range [-1, +1].",
type: "array",
items: {
type: "object",
Expand Down

0 comments on commit 24b4a5d

Please sign in to comment.