Chatwoot/app/javascript/dashboard/store/modules/contacts/index.js
2021-10-13 18:35:13 +05:30

28 lines
467 B
JavaScript

import { getters } from './getters';
import { actions } from './actions';
import { mutations } from './mutations';
const state = {
meta: {
count: 0,
currentPage: 1,
},
records: {},
uiFlags: {
isFetching: false,
isFetchingItem: false,
isFetchingInboxes: false,
isUpdating: false,
isMerging: false,
isDeleting: false,
},
sortOrder: [],
};
export default {
namespaced: true,
state,
getters,
actions,
mutations,
};