create room url in room tile
This commit is contained in:
parent
221b94adbf
commit
b373a177ec
1 changed files with 5 additions and 0 deletions
|
@ -31,6 +31,7 @@ export class RoomTileViewModel extends ViewModel {
|
|||
this._isOpen = false;
|
||||
this._wasUnreadWhenOpening = false;
|
||||
this._hidden = false;
|
||||
this._url = this.urlRouter.urlForSegment("room", this._room.id);
|
||||
}
|
||||
|
||||
get hidden() {
|
||||
|
@ -61,6 +62,10 @@ export class RoomTileViewModel extends ViewModel {
|
|||
}
|
||||
}
|
||||
|
||||
get url() {
|
||||
return this._url;
|
||||
}
|
||||
|
||||
compare(other) {
|
||||
/*
|
||||
put unread rooms first
|
||||
|
|
Reference in a new issue