Show back button

Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-07-22 16:30:22 +05:30
parent 7530b28130
commit 7dacbdb700

View file

@ -34,6 +34,8 @@ export class MemberDetailsViewModel extends ViewModel {
get userId() { return this._member.userId; }
get type() { return "member-details"; }
get shouldShowBackButton() { return true; }
get previousSegmentName() { return "members"; }
get role() {
if (this._powerLevel >= 100) { return "Admin"; }