trim spaces
This commit is contained in:
parent
25947adb43
commit
1676247d67
@ -60,7 +60,7 @@ export const isNavLinkActive = link => {
|
|||||||
if (chainCompare) {
|
if (chainCompare) {
|
||||||
localStorage.setItem('selected_chain', link.route.params.chain)
|
localStorage.setItem('selected_chain', link.route.params.chain)
|
||||||
}
|
}
|
||||||
|
|
||||||
return matchedRoutes.some(route => {
|
return matchedRoutes.some(route => {
|
||||||
const actived = (route.name === resolveRoutedName && chainCompare) || route.meta.navActiveLink === resolveRoutedName
|
const actived = (route.name === resolveRoutedName && chainCompare) || route.meta.navActiveLink === resolveRoutedName
|
||||||
return actived
|
return actived
|
||||||
|
Loading…
Reference in New Issue
Block a user