From 5fa2955bff9232a788a54656473f15a2f23046ab Mon Sep 17 00:00:00 2001 From: whatdoineed2do/Ray Date: Tue, 1 Dec 2020 16:50:58 +0000 Subject: [PATCH] [web-src] use settings to determine the number of albums to retreive on recently added page --- web-src/src/pages/PageBrowseRecentlyAdded.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web-src/src/pages/PageBrowseRecentlyAdded.vue b/web-src/src/pages/PageBrowseRecentlyAdded.vue index 4d3c8f1e..5c5b6a7e 100644 --- a/web-src/src/pages/PageBrowseRecentlyAdded.vue +++ b/web-src/src/pages/PageBrowseRecentlyAdded.vue @@ -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',