Chatwoot/app/javascript/dashboard/store/modules/contacts/index.js
Aswin Dev P.S 4f51a46c2b
feat: Ability to delete a contact (#2984)
This change allows the administrator user to delete a contact and its related data like conversations, contact inboxes, and reports.

Fixes #1929
2021-09-23 12:52:49 +05:30

27 lines
445 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,
isDeleting: false,
},
sortOrder: [],
};
export default {
namespaced: true,
state,
getters,
actions,
mutations,
};