Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 2169 Rev 2170
Línea 118... Línea 118...
118
      setActiveChats([...newActiveChats, { ...entity, minimized: minimized }]);
118
      setActiveChats([...newActiveChats, { ...entity, minimized: minimized }]);
119
    }
119
    }
120
  };
120
  };
Línea 121... Línea 121...
121
 
121
 
122
  const handleReadChat = async (index) => {
-
 
123
    console.log('>>: test : ', activeChats[index])
122
  const handleReadChat = async (index) => {
124
    const newActiveChats = [...activeChats];
123
    const newActiveChats = [...activeChats];
125
    if (activeChats[index].not_seen_messages) {
124
    if (activeChats[index].not_seen_messages) {
126
      const seen = await axios.post(activeChats[index].url_mark_seen);
125
      const seen = await axios.post(activeChats[index].url_mark_seen);
127
      if(seen.data.success){
126
      if(seen.data.success){