finish refine vuex for chat
This commit is contained in:
1 parent
cd5dbaa264
commit
6ab318e3f0
9 files changed
+73
-56
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { IApplication } from '@/operators';
|
||||
import { IApplication, IChatConversation } from '@/operators';
|
||||
import { IChatState } from './models';
|
||||
import { Status } from '../common/models';
|
||||
|
||||
@@ -10,7 +10,7 @@ export const setGetApplicationsStatus = (state: IChatState, payload: Status): vo
|
||||
state.getApplicationsStatus = payload;
|
||||
};
|
||||
|
||||
export const setConversations = (state: IChatState, payload: any): void => {
|
||||
export const setConversations = (state: IChatState, payload: IChatConversation[]): void => {
|
||||
state.conversations = payload;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user