diff --git a/app/abilities/user.js b/app/abilities/user.js index e3e434340..3ee1ca912 100644 --- a/app/abilities/user.js +++ b/app/abilities/user.js @@ -14,7 +14,7 @@ export default class User extends Ability { } get canShowOwn() { - return this.session.isAuthenticated; + return this.session.isAuthenticated && this.session.currentUser?.id; } get canCreate() { diff --git a/app/components/menu-sidebar.hbs b/app/components/menu-sidebar.hbs index 447641f3c..3ac36eab1 100644 --- a/app/components/menu-sidebar.hbs +++ b/app/components/menu-sidebar.hbs @@ -37,7 +37,7 @@