diff --git a/shell/components/nav/Type.vue b/shell/components/nav/Type.vue index 986e47d3537..d9d28a27b10 100644 --- a/shell/components/nav/Type.vue +++ b/shell/components/nav/Type.vue @@ -60,15 +60,16 @@ export default { const typeFullPath = this.$router.resolve(this.type.route)?.fullPath.toLowerCase(); const pageFullPath = this.$route.fullPath?.toLowerCase(); - if( !this.type.exact) { + if ( !this.type.exact) { const typeSplit = typeFullPath.split('/'); const pageSplit = pageFullPath.split('/'); for (let index = 0; index < typeSplit.length; ++index) { - if( index >= pageSplit.length || typeSplit[index] !== pageSplit[index] ){ - return false; - } + if ( index >= pageSplit.length || typeSplit[index] !== pageSplit[index] ) { + return false; + } } + return true; }