mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-29 13:41:38 +01:00
Describe what changed in emitChange()
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
a16c3aacab
commit
862e8569a9
@ -46,13 +46,13 @@ export class MemberDetailsViewModel extends ViewModel {
|
||||
|
||||
_onMemberChange() {
|
||||
this._member = this._observableMember.get();
|
||||
this.emitChange();
|
||||
this.emitChange("member");
|
||||
}
|
||||
|
||||
_onPowerLevelsChange() {
|
||||
const powerLevels = this._powerLevelsObservable.get();
|
||||
this._powerLevel = powerLevels.getUserLevel(this._member.userId);
|
||||
this.emitChange();
|
||||
this.emitChange("role");
|
||||
}
|
||||
|
||||
get avatarLetter() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user