Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 843 | Rev 845 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 843 Rev 844
Línea 121... Línea 121...
121
        setTimeout(() => {
121
        setTimeout(() => {
122
            window.location.reload()
122
            window.location.reload()
123
        }, 1000)
123
        }, 1000)
124
    }
124
    }
Línea -... Línea 125...
-
 
125
 
-
 
126
    const handleShowConversation = (arg) => {
125
 
127
        setShowConversations(arg)
Línea 126... Línea 128...
126
 
128
    }
127
 
129
 
128
    return (
130
    return (
129
        <>
131
        <>
Línea 212... Línea 214...
212
                                        click={handleChangeConversation}
214
                                        click={handleChangeConversation}
213
                                        conversations={conversations}
215
                                        conversations={conversations}
214
                                        selectedConversation={selectedConversation}
216
                                        selectedConversation={selectedConversation}
215
                                        searchActive={searchActive}
217
                                        searchActive={searchActive}
216
                                        showConversation={showConversations}
218
                                        showConversation={showConversations}
217
                                        setShowConversations={setShowConversations}
219
                                        setShowConversations={handleShowConversation}
218
                                    />
220
                                    />
219
                                </div>
221
                                </div>
220
                            </div>
222
                            </div>
221
                            <div className={`col-lg-8 col-md-12 pd-right-none pd-left-none ${!showConversations && 'msgs-hide'}`}>
223
                            <div className={`col-lg-8 col-md-12 pd-right-none pd-left-none ${!showConversations && 'msgs-hide'}`}>
222
                                <ChatMail
224
                                <ChatMail
223
                                    getMoreMessages={() => getMoreMessages()}
225
                                    getMoreMessages={() => getMoreMessages()}
224
                                    backendVars={props.backendVars}
226
                                    backendVars={props.backendVars}
225
                                    onSend={text => handleSend(text)}
227
                                    onSend={text => handleSend(text)}
226
                                    messages={messages}
228
                                    messages={messages}
227
                                    selectedConversation={selectedConversation}
229
                                    selectedConversation={selectedConversation}
228
                                    handleShowConversation={setShowConversations}
230
                                    handleShowConversation={handleShowConversation}
229
                                />
231
                                />
230
                            </div>
232
                            </div>
231
                        </div>
233
                        </div>
232
                    </div>
234
                    </div>
233
                </div>
235
                </div>