mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-05 23:10:28 +03:00
Fix pasting not working #551
This commit is contained in:
parent
0b70c7e490
commit
4a715bfd17
2 changed files with 12 additions and 6 deletions
|
|
@ -14,7 +14,8 @@ class Navigation extends EventEmitter {
|
|||
this.isRoomSettings = false;
|
||||
this.recentRooms = [];
|
||||
|
||||
this.isRawModalVisible = false;
|
||||
this.rawModelStack = [];
|
||||
window.nav = this;
|
||||
}
|
||||
|
||||
_setSpacePath(roomId) {
|
||||
|
|
@ -47,8 +48,13 @@ class Navigation extends EventEmitter {
|
|||
}
|
||||
}
|
||||
|
||||
get isRawModalVisible() {
|
||||
return this.rawModelStack.length > 0;
|
||||
}
|
||||
|
||||
setIsRawModalVisible(visible) {
|
||||
this.isRawModalVisible = visible;
|
||||
if (visible) this.rawModelStack.push(true);
|
||||
else this.rawModelStack.pop();
|
||||
}
|
||||
|
||||
navigate(action) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue