change default album view to recently added

This commit is contained in:
Thomas Amland 2020-09-20 17:43:44 +02:00
parent 4be81d0e35
commit 9a9c87f2cd
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@
</small> </small>
</a> </a>
<router-link class="nav-link" :to="{name: 'albums', params: {sort: 'a-z'}}"> <router-link class="nav-link" :to="{name: 'albums', params: {sort: 'recently-added'}}">
<Icon icon="collection" /> Albums <Icon icon="collection" /> Albums
</router-link> </router-link>

View File

@ -34,10 +34,10 @@
computed: { computed: {
options() { options() {
return [ return [
{ text: 'A-Z', value: 'a-z' },
{ text: 'Recently added', value: 'recently-added' }, { text: 'Recently added', value: 'recently-added' },
{ text: 'Recently played', value: 'recently-played' }, { text: 'Recently played', value: 'recently-played' },
{ text: 'Most played', value: 'most-played' }, { text: 'Most played', value: 'most-played' },
{ text: 'A-Z', value: 'a-z' },
{ text: 'Random', value: 'random' }, { text: 'Random', value: 'random' },
] ]
} }