Reconnect when loosing connection
This commit is contained in:
parent
57ca2c44ad
commit
4b165054a4
3 changed files with 19 additions and 6 deletions
|
@ -27,6 +27,7 @@ export default function BufferHeader(props) {
|
|||
|
||||
var description = null;
|
||||
if (props.buffer.serverInfo) {
|
||||
// TODO: print current connection status
|
||||
var serverInfo = props.buffer.serverInfo;
|
||||
description = `Connected to ${serverInfo.name}`;
|
||||
} else if (props.buffer.topic) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue