UNPKG

@empathyco/x-components

Version:
15 lines (13 loc) 432 B
/** * Default implementation for the {@link HistoryQueriesActions.setUrlParams}. * * @param context - The {@link https://vuex.vuejs.org/guide/actions.html | context} of the actions, * provided by Vuex. * @param urlParams - List of params from the url. * @public */ const setUrlParams = ({ commit }, { query }) => { commit('setQuery', query); }; export { setUrlParams }; //# sourceMappingURL=set-url-params.action.js.map