mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-24 08:18:00 -05:00
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…
Reference in a new issue