selectCompanionScene work with svelte
This commit is contained in:
parent
471ff2bb01
commit
b8873d1277
18 changed files with 42 additions and 214 deletions
|
@ -263,7 +263,7 @@ export class SimplePeer {
|
|||
|
||||
const userIndex = this.Users.findIndex(user => user.userId === userId);
|
||||
if(userIndex < 0){
|
||||
throw 'Couln\'t delete user';
|
||||
throw 'Couldn\'t delete user';
|
||||
} else {
|
||||
this.Users.splice(userIndex, 1);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue