* feat: Inbox view * feat: Bind real values * chore: code cleanup * feat: add observer * fix: Inbox icon * chore: more code cleanup * chore: Replace conversation id * chore: Minor fix * chore: Hide from side bar * chore: Fix eslint * chore: Minor fix * fix: dark mode color * chore: Minor fix * feat: Add description for each notification types * chore: remove commented code * Update InboxList.vue * Update InboxView.vue * chore: fix specs * fix: specs * Update InboxView.vue --------- Co-authored-by: iamsivin <iamsivin@gmail.com> Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
28 lines
466 B
JavaScript
28 lines
466 B
JavaScript
import { getters } from './getters';
|
|
import { actions } from './actions';
|
|
import { mutations } from './mutations';
|
|
|
|
const state = {
|
|
meta: {
|
|
count: 0,
|
|
currentPage: 1,
|
|
unReadCount: 0,
|
|
},
|
|
records: {},
|
|
uiFlags: {
|
|
isFetching: false,
|
|
isFetchingItem: false,
|
|
isUpdating: false,
|
|
isUpdatingUnreadCount: false,
|
|
isAllNotificationsLoaded: false,
|
|
},
|
|
};
|
|
|
|
export default {
|
|
namespaced: true,
|
|
state,
|
|
getters,
|
|
actions,
|
|
mutations,
|
|
};
|