debian-mirror-gitlab/spec/javascripts/monitoring/helpers.js
2019-09-04 21:01:54 +05:30

8 lines
195 B
JavaScript

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