diff --git a/frontend/src/components/menu/UserInfo.test.ts b/frontend/src/components/menu/UserInfo.test.ts index 2a999b578c..6b013e05b8 100644 --- a/frontend/src/components/menu/UserInfo.test.ts +++ b/frontend/src/components/menu/UserInfo.test.ts @@ -65,7 +65,6 @@ describe('UserInfo', () => { details: [], social: [], }) - wrapper = Wrapper() }) it('has no image and no text in avatar', () => { @@ -86,7 +85,6 @@ describe('UserInfo', () => { details: [], social: [], }) - wrapper = Wrapper() }) it('has no image but initials in avatar', () => { @@ -108,7 +106,6 @@ describe('UserInfo', () => { details: [], social: [], }) - wrapper = Wrapper() }) it('has image and not text in avatar', () => { diff --git a/frontend/src/components/menu/UserInfo.vue b/frontend/src/components/menu/UserInfo.vue index a9ddd485ba..4b1102997b 100644 --- a/frontend/src/components/menu/UserInfo.vue +++ b/frontend/src/components/menu/UserInfo.vue @@ -8,8 +8,8 @@ > - - {{ initals?.toUpperCase() }} + + {{ userStore.getCurrentUserInitials?.toUpperCase() }}