mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-29 21:51:39 +01:00
13 lines
268 B
JavaScript
13 lines
268 B
JavaScript
|
import {ViewModel} from "../../ViewModel.js";
|
||
|
|
||
|
export class MemberTileViewModel extends ViewModel {
|
||
|
constructor(options) {
|
||
|
super(options);
|
||
|
this.member = options.member;
|
||
|
}
|
||
|
|
||
|
get displayName() {
|
||
|
return this.member.displayName;
|
||
|
}
|
||
|
}
|