bugfix
This commit is contained in:
parent
64360fc964
commit
bb05f80bb2
@ -71,6 +71,13 @@ bricks.RTCClient = class extends bricks.VBox {
|
|||||||
}
|
}
|
||||||
choose_peer(){
|
choose_peer(){
|
||||||
var items = [];
|
var items = [];
|
||||||
|
if (this.onlineList.length < 1){
|
||||||
|
var w = new bricks.Error({title:'Error',
|
||||||
|
timeout:4,
|
||||||
|
message:'no peer logined'
|
||||||
|
});
|
||||||
|
w.open();
|
||||||
|
}
|
||||||
this.onlineList.forEach( p => {
|
this.onlineList.forEach( p => {
|
||||||
var m = {
|
var m = {
|
||||||
name:p.id,
|
name:p.id,
|
||||||
|
Loading…
Reference in New Issue
Block a user