Display stream status error messages properly.
This commit is contained in:
parent
1f1459f142
commit
a4ff027077
1 changed files with 1 additions and 1 deletions
|
@ -443,7 +443,7 @@ TODO als server het stuurt
|
||||||
{
|
{
|
||||||
$(row.children()[3]).html("<span class='green'>Running</span>");
|
$(row.children()[3]).html("<span class='green'>Running</span>");
|
||||||
}else{
|
}else{
|
||||||
$(row.children()[3]).html("<span class='red'>" + (status == 0 ? 'Offline' : 'Unknown, checking...') + "</span>");
|
$(row.children()[3]).html("<span class='red'>" + (status == 0 ? 'Offline' : (!status ? 'Unknown, checking...' : status) ) + "</span>");
|
||||||
}
|
}
|
||||||
|
|
||||||
$(row.children()[4]).text(streams[stream][1]);
|
$(row.children()[4]).text(streams[stream][1]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue