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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dashboard-shell-shell",
3
- "version": "3.0.5-test.58",
3
+ "version": "3.0.5-test.60",
4
4
  "description": "Rancher Dashboard Shell",
5
5
  "repository": "https://github.com/rancherlabs/dashboard",
6
6
  "license": "Apache-2.0",
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
3
  # 执行命令示例:
4
- # TAG=shell-pkg-v3.0.5-test.58 ./shell/scripts/publish-shell.sh
4
+ # TAG=shell-pkg-v3.0.5-test.60 ./shell/scripts/publish-shell.sh
5
5
 
6
6
  set -euo pipefail
7
7