default filter to popular

This commit is contained in:
Gamebrary 2020-08-25 23:33:37 -07:00
parent 2090f9f72f
commit d12c28ea3a

View file

@ -12,7 +12,7 @@ export default {
}, },
filteredPlatforms: (state) => { filteredPlatforms: (state) => {
const filterField = state.settings.platformsFilterField || null; const filterField = state.settings.platformsFilterField || 'popular';
const sortField = state.settings.platformsSortField || 'generation'; const sortField = state.settings.platformsSortField || 'generation';
let filteredPlatforms = []; let filteredPlatforms = [];