dashboard-shell-shell 1.0.120 → 1.0.122
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.
|
@@ -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;
|
|
@@ -423,7 +423,6 @@ export default {
|
|
|
423
423
|
expanded: {},
|
|
424
424
|
searchQuery,
|
|
425
425
|
eventualSearchQuery,
|
|
426
|
-
optionsFor,
|
|
427
426
|
subMatches: null,
|
|
428
427
|
actionOfInterest: null,
|
|
429
428
|
loadingDelay: false,
|