Skip to content

Commit

Permalink
Resolve MUWM-5277
Browse files Browse the repository at this point in the history
  • Loading branch information
fanglinfang committed Jul 6, 2023
1 parent 3234384 commit abdeab0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion myuw_vue/components/profile/user-name.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<template #panel-body>
<h2 class="h4 mb-3">
<span>
{{ displayName(displayName, fullName) }}
{{ name }}
<span v-if="hasPronouns" class="myuw-text-md text-uppercase" title="Pronouns">
({{ titleCaseName(pronouns) }})
</span>
Expand Down Expand Up @@ -40,6 +40,9 @@ export default {
hasPronouns() {
return Boolean(this.pronouns && this.pronouns.length);
},
name() {
return this.displayName ? this.displayName : this.fullName; // MUWM-5277
},
},
mounted() {
this.fetch();
Expand Down

0 comments on commit abdeab0

Please sign in to comment.