Use name instead of display_name in the dashboard

This commit is contained in:
Pranav Raj Sreepuram 2020-10-13 13:03:55 +05:30
parent 2c324d9421
commit 4a2a309d18
5 changed files with 6 additions and 7 deletions

View file

@ -208,8 +208,7 @@ export default {
accountLabels: 'labels/getLabelsOnSidebar',
}),
currentUserAvailableName() {
const { available_name: availableName } = this.currentUser;
return availableName;
return this.currentUser.name;
},
showChangeAccountOption() {
if (this.globalConfig.createNewAccountFromDashboard) {