don't read private parts
This commit is contained in:
parent
cdd1efe477
commit
2cbe349a4d
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ export class RoomGridViewModel extends ViewModel {
|
||||||
* @package
|
* @package
|
||||||
*/
|
*/
|
||||||
tryFocusRoom(roomId) {
|
tryFocusRoom(roomId) {
|
||||||
const index = this._viewModels.findIndex(vms => vms?.vm._room.id === roomId);
|
const index = this._viewModels.findIndex(vms => vms?.vm.id === roomId);
|
||||||
if (index >= 0) {
|
if (index >= 0) {
|
||||||
this.setFocusIndex(index);
|
this.setFocusIndex(index);
|
||||||
return true;
|
return true;
|
||||||
|
|
Reference in a new issue