[web-src] use settings to determine the number of albums to retreive on recently added page

This commit is contained in:
whatdoineed2do/Ray 2020-12-01 16:50:58 +00:00 committed by chme
parent 08397058f1
commit 5fa2955bff
1 changed files with 2 additions and 1 deletions

View File

@ -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',