Skip to content

Commit

Permalink
Adjust default sort order of my-pbs page, adjust titles associated wi…
Browse files Browse the repository at this point in the history
…th my-follows page
  • Loading branch information
big213 committed Apr 11, 2021
1 parent fc0779a commit c44096f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions frontend/layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,10 @@ export default {
{
icon: 'mdi-timer',
title: 'My PBs (All)',
to: '/my-pbs',
to: generateRoute('/my-pbs', {
sortBy: ['happenedOn'],
sortDesc: [true],
}),
},
{
icon: 'mdi-timetable',
Expand All @@ -245,7 +248,7 @@ export default {
},
{
icon: 'mdi-account-switch',
title: 'Users I Follow',
title: 'Following',
to: '/my-follows',
},
],
Expand Down
4 changes: 2 additions & 2 deletions frontend/pages/my-follows.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ export default {
hiddenHeaders: ['user.id+user.name+user.avatar'],
// override
head: {
title: 'Users I Follow',
title: 'Following',
},
icon: 'mdi-account-switch',
title: 'Users I Follow',
title: 'Following',
}
},
computed: {
Expand Down

0 comments on commit c44096f

Please sign in to comment.