forked from mystiq/hydrogen-web
Describe what changed in emitChange()
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
a16c3aacab
commit
862e8569a9
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue