File: //home/arjun/projects/buyercall/buyercall/assets/vue/widgets/Worklist/store/initialConfig.js
import { SCREEN_LEFT } from '../constants';
export const rootConfig = {
windowWidth: window.innerWidth,
mobileSelectedScreen: SCREEN_LEFT,
selectedWork: null,
selectedLeadId: null,
selectedLeadInteractions: [],
};
export const taskConfig = {
error: null,
tasks: [],
tasksLoading: false,
newtaskLoading: false,
unViewedTaskCount: 0,
taskTypeFilter: 'ALL',
taskStatusFilter: 'ALL',
taskAggregations: [],
currentpage: 1,
totalRecordCount: 0,
taskfetchLimit: 10,
reloadTimestamp: Date.now(),
toastMessage: null,
sendMessageLoading: false,
};
export const chatConfig = {
chatMessages: [],
chatLoading: false,
};
export const appointmentConfig = {};