Fix bug in Firefox

This commit is contained in:
2021-02-12 16:57:49 +01:00
parent 76ff8565e4
commit d87e29d460
2 changed files with 6 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class WsMessage {
}
get hasId() {
return this.id.length > 0
return this.id && this.id.length > 0
}
}