dashboard-shell-shell 1.0.119 → 1.0.121
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.
|
@@ -402,7 +402,7 @@ export default {
|
|
|
402
402
|
menuIcon() {
|
|
403
403
|
const product = this.$store.getters['productId'];
|
|
404
404
|
|
|
405
|
-
return this.$store.getters['type-map/groupsForVirTypes'](product,
|
|
405
|
+
return this.$store.getters['type-map/groupsForVirTypes'](product, this.location.params.resource);
|
|
406
406
|
},
|
|
407
407
|
|
|
408
408
|
|
|
@@ -126,7 +126,7 @@ export default {
|
|
|
126
126
|
return this.$store.getters['type-map/labelFor'](this.schema, 99);
|
|
127
127
|
},
|
|
128
128
|
_descriptionDisplay() {
|
|
129
|
-
const key =
|
|
129
|
+
const key = this.$route.path.split('/').pop();
|
|
130
130
|
|
|
131
131
|
return this.$store.getters['i18n/t'](`typeDescription."${ key.toLowerCase() }"`);
|
|
132
132
|
},
|
|
@@ -412,7 +412,7 @@ export default {
|
|
|
412
412
|
const isLoading = this.loading || false;
|
|
413
413
|
|
|
414
414
|
let isCreatable = false;
|
|
415
|
-
const lastPath =
|
|
415
|
+
const lastPath = this.$route.path.split('/').pop();
|
|
416
416
|
|
|
417
417
|
if (lastPath.includes('.')) {
|
|
418
418
|
isCreatable = this.$store.getters['type-map/optionsFor'](lastPath).isCreatable;
|