datajunction-ui 0.0.1-a86.dev2 → 0.0.1-a86.dev3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -31,7 +31,7 @@ export const TagsField = ({ defaultValue }) => {
|
|
|
31
31
|
style={{ width: '25%', margin: '1rem 0 1rem 1.2rem' }}
|
|
32
32
|
>
|
|
33
33
|
<ErrorMessage name="tags" component="span" />
|
|
34
|
-
<label htmlFor="
|
|
34
|
+
<label htmlFor="tags">Tags</label>
|
|
35
35
|
<span data-testid="select-tags">
|
|
36
36
|
<FormikSelect
|
|
37
37
|
isMulti={true}
|
|
@@ -93,10 +93,10 @@ export function AddEditNodePage({ extensions = {} }) {
|
|
|
93
93
|
const staticFieldsInEdit = node => (
|
|
94
94
|
<>
|
|
95
95
|
<div className="NodeNameInput NodeCreationInput">
|
|
96
|
-
<label
|
|
96
|
+
<label>Name</label> {name}
|
|
97
97
|
</div>
|
|
98
98
|
<div className="NodeNameInput NodeCreationInput">
|
|
99
|
-
<label
|
|
99
|
+
<label>Type</label> {node.type}
|
|
100
100
|
</div>
|
|
101
101
|
</>
|
|
102
102
|
);
|
|
@@ -295,13 +295,15 @@ export function AddEditNodePage({ extensions = {} }) {
|
|
|
295
295
|
isMulti={true}
|
|
296
296
|
/>,
|
|
297
297
|
);
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
298
|
+
if (data.required_dimensions) {
|
|
299
|
+
setSelectRequiredDims(
|
|
300
|
+
<RequiredDimensionsSelect
|
|
301
|
+
defaultValue={data.required_dimensions.map(dim => {
|
|
302
|
+
return { value: dim, label: dim };
|
|
303
|
+
})}
|
|
304
|
+
/>,
|
|
305
|
+
);
|
|
306
|
+
}
|
|
305
307
|
setSelectUpstreamNode(
|
|
306
308
|
<UpstreamNodeField
|
|
307
309
|
defaultValue={{
|