gitlab-org--gitlab-foss/spec/javascripts/monitoring/helpers.js
Jose Ivan Vargas 218dd51239 Migrate the monitoring dashboard store to vuex
This changes the monitoring javascript store from
an object based to a vuex one
2019-05-27 22:30:36 +00:00

8 lines
195 B
JavaScript

// eslint-disable-next-line import/prefer-default-export
export const resetStore = store => {
store.replaceState({
showEmptyState: true,
emptyState: 'loading',
groups: [],
});
};