Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 7258 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 7258 Rev 7259
Línea 15... Línea 15...
15
  DEFAULT: 'DEFAULT',
15
  DEFAULT: 'DEFAULT',
16
  GROUP_MEMBERS: 'GROUP_MEMBERS',
16
  GROUP_MEMBERS: 'GROUP_MEMBERS',
17
  ADD_GROUP_MEMBER: 'ADD_GROUP_MEMBER',
17
  ADD_GROUP_MEMBER: 'ADD_GROUP_MEMBER',
18
}
18
}
Línea 19... Línea 19...
19
 
19
 
20
const ChatBox = ({ entity, changeTab }) => {
20
const ChatBox = ({ entity, changeTab, changeConversation }) => {
21
  const {
21
  const {
22
    url_get_all_messages,
22
    url_get_all_messages,
23
    url_mark_received,
23
    url_mark_received,
24
    not_received_messages,
24
    not_received_messages,
Línea 61... Línea 61...
61
          typeof data.data === 'string' ? data.data : 'Ha ocurrido un error'
61
          typeof data.data === 'string' ? data.data : 'Ha ocurrido un error'
62
        dispatch(addNotification({ style: 'danger', msg: errorMessage }))
62
        dispatch(addNotification({ style: 'danger', msg: errorMessage }))
63
        return
63
        return
64
      }
64
      }
Línea -... Línea 65...
-
 
65
 
-
 
66
      toggleConfirmModal()
65
 
67
      changeConversation(null)
66
      changeTab(CHAT_TABS.DEFAULT)
68
      changeTab(CHAT_TABS.DEFAULT)
67
    })
69
    })
Línea 68... Línea 70...
68
  }
70
  }