app/javascript/dashboard/store/modules/conversations/index.js
mutations
has 35 functions (exceeds 32 allowed). Consider refactoring. Open
Open
export const mutations = {
[types.SET_ALL_CONVERSATION](_state, conversationList) {
const newAllConversations = [..._state.allConversations];
conversationList.forEach(conversation => {
const indexInCurrentList = newAllConversations.findIndex(