chatwoot/chatwoot

View on GitHub
app/javascript/dashboard/store/modules/conversations/index.js

Summary

Maintainability
A
2 hrs
Test Coverage
F
0%

mutations has 35 functions (exceeds 32 allowed). Consider refactoring.
Open

export const mutations = {
  [types.SET_ALL_CONVERSATION](_state, conversationList) {
    const newAllConversations = [..._state.allConversations];
    conversationList.forEach(conversation => {
      const indexInCurrentList = newAllConversations.findIndex(
Severity: Minor
Found in app/javascript/dashboard/store/modules/conversations/index.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status