mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-24 12:04:57 +01:00
Add button in Room header to open details
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
ecd5505af9
commit
4edc58ebcf
@ -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}`;
|
||||||
|
Loading…
Reference in New Issue
Block a user