Add button in Room header to open details
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
ecd5505af9
commit
4edc58ebcf
1 changed files with 5 additions and 1 deletions
|
@ -104,6 +104,10 @@ export class RoomViewModel extends ViewModel {
|
|||
get timelineViewModel() { return this._timelineVM; }
|
||||
get isEncrypted() { return this._room.isEncrypted; }
|
||||
|
||||
get roomDetailsLink() {
|
||||
return this.urlCreator.urlForSegment("details");
|
||||
}
|
||||
|
||||
get error() {
|
||||
if (this._timelineError) {
|
||||
return `Something went wrong loading the timeline: ${this._timelineError.message}`;
|
||||
|
|
Reference in a new issue