Files
chatwoot/app/javascript/dashboard/store/modules/contacts/index.js
Sivin Varghese a50e4f1748 feat(v4): Update the design for the contacts list page (#10501)
---------
Co-authored-by: Pranav <pranavrajs@gmail.com>
Co-authored-by: Pranav <pranav@chatwoot.com>
2024-11-27 20:07:20 -08:00

32 lines
537 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,
isExporting: false,
isImporting: false,
},
sortOrder: [],
appliedFilters: [],
};
export default {
namespaced: true,
state,
getters,
actions,
mutations,
};