[web-src] use settings to determine the number of albums to retreive on recently added page
This commit is contained in:
parent
08397058f1
commit
5fa2955bff
|
@ -90,10 +90,11 @@ import TabsMusic from '@/components/TabsMusic'
|
|||
import ListAlbums from '@/components/ListAlbums'
|
||||
import ModalDialogAlbums from '@/components/ModalDialogAlbums'
|
||||
import webapi from '@/webapi'
|
||||
import store from '@/store'
|
||||
|
||||
const browseData = {
|
||||
load: function (to) {
|
||||
const recentlyAddedLimit = 100
|
||||
const recentlyAddedLimit = store.getters.settings_option_recently_added_limit
|
||||
return Promise.all([
|
||||
webapi.search({
|
||||
type: 'album',
|
||||
|
|
Loading…
Reference in New Issue