mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-24 12:30:38 -04:00
[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 ListAlbums from '@/components/ListAlbums'
|
||||||
import ModalDialogAlbums from '@/components/ModalDialogAlbums'
|
import ModalDialogAlbums from '@/components/ModalDialogAlbums'
|
||||||
import webapi from '@/webapi'
|
import webapi from '@/webapi'
|
||||||
|
import store from '@/store'
|
||||||
|
|
||||||
const browseData = {
|
const browseData = {
|
||||||
load: function (to) {
|
load: function (to) {
|
||||||
const recentlyAddedLimit = 100
|
const recentlyAddedLimit = store.getters.settings_option_recently_added_limit
|
||||||
return Promise.all([
|
return Promise.all([
|
||||||
webapi.search({
|
webapi.search({
|
||||||
type: 'album',
|
type: 'album',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user