forked from mystiq/hydrogen-web
Only need to emit
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
974d9bf199
commit
86ddfc1e9e
1 changed files with 0 additions and 2 deletions
|
@ -50,8 +50,6 @@ export class MemberDetailsViewModel extends ViewModel {
|
||||||
}
|
}
|
||||||
|
|
||||||
_onPowerLevelsChange() {
|
_onPowerLevelsChange() {
|
||||||
const powerLevels = this._powerLevelsObservable.get();
|
|
||||||
this._powerLevel = powerLevels.getUserLevel(this._member.userId);
|
|
||||||
this.emitChange("role");
|
this.emitChange("role");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue