diff --git a/ui/src/store/sceneList.js b/ui/src/store/sceneList.js index 63a9148c9..3d610d1ef 100644 --- a/ui/src/store/sceneList.js +++ b/ui/src/store/sceneList.js @@ -150,8 +150,8 @@ const mutations = { const actions = { async filters ({ state }) { - state.playlists = await ky.get('/api/playlist').json() - state.filterOpts = await ky.get('/api/scene/filters').json() + state.playlists = await ky.get('/api/playlist', {timeout: 300000}).json() + state.filterOpts = await ky.get('/api/scene/filters', {timeout: 300000}).json() // Reverse list of release months for display purposes state.filterOpts.release_month = state.filterOpts.release_month.reverse() diff --git a/ui/src/views/scenes/Filters.vue b/ui/src/views/scenes/Filters.vue index 26202f251..35c5d6dad 100644 --- a/ui/src/views/scenes/Filters.vue +++ b/ui/src/views/scenes/Filters.vue @@ -578,7 +578,7 @@ export default { }, async fetchFilters() { this.filteredAttributes=['Loading attributes'] - ky.get('/api/scene/filters').json().then(data => { + ky.get('/api/scene/filters', {timeout: 300000}).json().then(data => { this.filteredAttributes=data.attributes }) }