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 timelineViewModel() { return this._timelineVM; }
|
||||||
get isEncrypted() { return this._room.isEncrypted; }
|
get isEncrypted() { return this._room.isEncrypted; }
|
||||||
|
|
||||||
|
get roomDetailsLink() {
|
||||||
|
return this.urlCreator.urlForSegment("details");
|
||||||
|
}
|
||||||
|
|
||||||
get error() {
|
get error() {
|
||||||
if (this._timelineError) {
|
if (this._timelineError) {
|
||||||
return `Something went wrong loading the timeline: ${this._timelineError.message}`;
|
return `Something went wrong loading the timeline: ${this._timelineError.message}`;
|
||||||
|
@ -383,4 +387,4 @@ class ArchivedViewModel extends ViewModel {
|
||||||
get kind() {
|
get kind() {
|
||||||
return "archived";
|
return "archived";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue