components/buffer-header: print bouncer network error if any
This commit is contained in:
parent
baaf576d82
commit
f0c398a10c
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,9 @@ export default function BufferHeader(props) {
|
|||
switch (props.bouncerNetwork.state) {
|
||||
case "disconnected":
|
||||
description = "Bouncer disconnected from network";
|
||||
if (props.bouncerNetwork.error) {
|
||||
description += ": " + props.bouncerNetwork.error;
|
||||
}
|
||||
break;
|
||||
case "connecting":
|
||||
description = "Bouncer connecting to network...";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue