Solves vuex mutation warning after previous commit.
This commit is contained in:
parent
0b0cdf0a45
commit
eb78a8f3b9
|
@ -15,10 +15,10 @@ export const fetchItems = ({ rootGetters, dispatch, commit }, { collectionId, is
|
|||
|
||||
// Garanttees at least empty fetch_only are passed in case none is found
|
||||
if (qs.stringify(postQueries.fetch_only) == '')
|
||||
postQueries.fetch_only = {};
|
||||
dispatch('search/add_fetchonly', {} , { root: true });
|
||||
|
||||
if (qs.stringify(postQueries.fetch_only['meta']) == '')
|
||||
postQueries.fetch_only['meta'] = [0];
|
||||
dispatch('search/add_fetchonly_meta', 0 , { root: true });
|
||||
|
||||
// Differentiates between repository level and collection level queries
|
||||
let endpoint = '/collection/'+collectionId+'/items?'
|
||||
|
|
Loading…
Reference in New Issue