Chatwoot/app/javascript/dashboard/store/utils/api.js

7 lines
201 B
JavaScript
Raw Normal View History

/* eslint no-param-reassign: 0 */
export const getLoadingStatus = state => state.fetchAPIloadingStatus;
export const setLoadingStatus = (state, status) => {
state.fetchAPIloadingStatus = status;
};