Skip to content

Commit

Permalink
Update NewAppHeader.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
chienleng committed Sep 9, 2024
1 parent fab4bf2 commit 9aa9474
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions components/layout/NewAppHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ import BurgerButton from './BurgerButton.vue';
const topLevelLinks = [
{
name: 'Data Tracker',
name: 'Tracker',
path: '/energy',
active: true
},
{
name: 'Map',
name: 'Facilities',
path: '/facilities/nem/?status=operating'
},
{
Expand Down Expand Up @@ -86,9 +86,9 @@ export default {
methods: {
checkActive(name) {
if (this.isFacilitiesView && name === 'Facilities Map') {
if (this.isFacilitiesView && name === 'Facilities') {
return true;
} else if (this.isEnergyView && name === 'Data Tracker') {
} else if (this.isEnergyView && name === 'Tracker') {
return true;
}
return false
Expand Down Expand Up @@ -173,11 +173,11 @@ nav {
a.active {
font-weight: 700;
&::after {
/** &::after {
border-color: #c74523;
background-color: #c74523;
opacity: 1;
}
}*/
}
}
Expand Down

0 comments on commit 9aa9474

Please sign in to comment.