diff --git a/frontend/src/components/Contributions/ContributionListItem.vue b/frontend/src/components/Contributions/ContributionListItem.vue index 2642a9123..46df31b92 100644 --- a/frontend/src/components/Contributions/ContributionListItem.vue +++ b/frontend/src/components/Contributions/ContributionListItem.vue @@ -8,7 +8,8 @@ @@ -269,7 +270,10 @@ export default { return 'collapse' + String(this.id) }, username() { - return `${this.firstName} ${this.lastName}` + return { + username: `${this.firstName} ${this.lastName}`, + initials: `${this.firstName[0]}${this.lastName[0]}`, + } }, }, methods: { diff --git a/frontend/src/components/Menu/Navbar.vue b/frontend/src/components/Menu/Navbar.vue index bf525b97e..c23f2bf5c 100644 --- a/frontend/src/components/Menu/Navbar.vue +++ b/frontend/src/components/Menu/Navbar.vue @@ -21,10 +21,15 @@
- +
-
{{ username }}
+
{{ username.username }}
{{ $store.state.email }} @@ -64,7 +69,10 @@ export default { }, computed: { username() { - return `${this.$store.state.firstName} ${this.$store.state.lastName}` + return { + username: `${this.$store.state.firstName} ${this.$store.state.lastName}`, + initials: `${this.$store.state.firstName[0]}${this.$store.state.lastName[0]}`, + } }, }, } diff --git a/frontend/src/components/Template/RightSide/LastTransactions.vue b/frontend/src/components/Template/RightSide/LastTransactions.vue index 6d84d2d37..a4bdb29f5 100644 --- a/frontend/src/components/Template/RightSide/LastTransactions.vue +++ b/frontend/src/components/Template/RightSide/LastTransactions.vue @@ -6,7 +6,7 @@ --> - +
@@ -49,27 +50,7 @@ -
-