dashboard-shell-shell 1.0.1000000112 → 1.0.1000000116

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.
@@ -415,8 +415,12 @@ export default {
415
415
 
416
416
  const isLoading = this.loading || false;
417
417
 
418
+ console.log(this.$route.path, ' this.$route?.path');
419
+
418
420
  let isCreatable = false;
419
- const lastPath = this.$route.path.split('/'.pop());
421
+ const lastPath = this.$route?.path?.split('/').pop();
422
+
423
+ console.log(lastPath, ' lastPath-----------------------');
420
424
 
421
425
  if (lastPath?.includes('.')) {
422
426
  isCreatable = this.$store.getters['type-map/optionsFor'](lastPath).isCreatable;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dashboard-shell-shell",
3
- "version": "1.0.1000000112",
3
+ "version": "1.0.1000000116",
4
4
  "description": "Rancher Dashboard Shell",
5
5
  "repository": "https://github.com/rancherlabs/dashboard",
6
6
  "license": "Apache-2.0",