datajunction-ui 0.0.1-a71 → 0.0.1-a72
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
|
@@ -138,7 +138,9 @@ describe('AddEditNodePage', () => {
|
|
|
138
138
|
).toMatchSnapshot();
|
|
139
139
|
|
|
140
140
|
// The namespace should be set to the one provided in params
|
|
141
|
-
|
|
141
|
+
screen
|
|
142
|
+
.getAllByText('default')
|
|
143
|
+
.forEach(element => expect(element).toBeInTheDocument());
|
|
142
144
|
});
|
|
143
145
|
});
|
|
144
146
|
|
|
@@ -313,7 +313,15 @@ export function AddEditNodePage() {
|
|
|
313
313
|
|
|
314
314
|
return (
|
|
315
315
|
<div className="mid">
|
|
316
|
-
<NamespaceHeader
|
|
316
|
+
<NamespaceHeader
|
|
317
|
+
namespace={
|
|
318
|
+
initialNamespace
|
|
319
|
+
? initialNamespace
|
|
320
|
+
: name
|
|
321
|
+
? name.substring(0, name.lastIndexOf('.'))
|
|
322
|
+
: ''
|
|
323
|
+
}
|
|
324
|
+
/>
|
|
317
325
|
<div className="card">
|
|
318
326
|
<div className="card-header">
|
|
319
327
|
{pageTitle}
|