dashboard-shell-shell 3.0.5-test.58 → 3.0.5-test.60
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.
|
@@ -176,6 +176,11 @@ export default {
|
|
|
176
176
|
componentTestid: {
|
|
177
177
|
type: String,
|
|
178
178
|
default: 'name-ns-description'
|
|
179
|
+
},
|
|
180
|
+
|
|
181
|
+
extraNamespaceOptions: {
|
|
182
|
+
type: Array,
|
|
183
|
+
default: () => []
|
|
179
184
|
}
|
|
180
185
|
},
|
|
181
186
|
|
|
@@ -269,6 +274,16 @@ export default {
|
|
|
269
274
|
});
|
|
270
275
|
}
|
|
271
276
|
|
|
277
|
+
if (props.extraNamespaceOptions && props.extraNamespaceOptions.length > 0) {
|
|
278
|
+
props.extraNamespaceOptions.map(item => {
|
|
279
|
+
const objs = {
|
|
280
|
+
label: item,
|
|
281
|
+
value: item,
|
|
282
|
+
}
|
|
283
|
+
sortedByLabel.push(objs);
|
|
284
|
+
})
|
|
285
|
+
}
|
|
286
|
+
|
|
272
287
|
const createButton = {
|
|
273
288
|
label: t('namespace.createNamespace'),
|
|
274
289
|
value: '',
|
package/package.json
CHANGED