mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-06 07:20:29 +03:00
Fix space add options visible in home
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
6c4085398e
commit
d3ddbc0c72
3 changed files with 2 additions and 5 deletions
|
|
@ -69,7 +69,7 @@ class Navigation extends EventEmitter {
|
|||
},
|
||||
[cons.actions.navigation.SELECT_SPACE]: () => {
|
||||
this._setSpacePath(action.roomId);
|
||||
this.selectedSpaceId = action.roomId;
|
||||
this.selectedSpaceId = action.roomId === cons.tabs.HOME ? null : action.roomId;
|
||||
this.emit(cons.events.navigation.SPACE_SELECTED, this.selectedSpaceId);
|
||||
},
|
||||
[cons.actions.navigation.SELECT_ROOM]: () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue