diff --git a/app/mm-redux/types/config.ts b/app/mm-redux/types/config.ts index c13b9f3ed..50aa1f498 100644 --- a/app/mm-redux/types/config.ts +++ b/app/mm-redux/types/config.ts @@ -151,6 +151,7 @@ export type Config = { SendEmailNotifications: string; SendPushNotifications: string; ShowEmailAddress: string; + ShowFullName: string; SiteName: string; SiteURL: string; SQLDriverName: string; diff --git a/app/screens/user_profile/__snapshots__/user_profile.test.js.snap b/app/screens/user_profile/__snapshots__/user_profile.test.js.snap index d0778a0d8..83fa7f51f 100644 --- a/app/screens/user_profile/__snapshots__/user_profile.test.js.snap +++ b/app/screens/user_profile/__snapshots__/user_profile.test.js.snap @@ -136,66 +136,6 @@ exports[`user_profile should match snapshot 1`] = ` } } > - - - - test - - - - - - fake - - - {this.buildDisplayBlock('first_name')} - {this.buildDisplayBlock('last_name')} + {this.props.config.ShowFullName === 'true' && this.buildDisplayBlock('first_name')} + {this.props.config.ShowFullName === 'true' && this.buildDisplayBlock('last_name')} {this.props.config.ShowEmailAddress === 'true' && this.buildDisplayBlock('email')} {this.buildDisplayBlock('nickname')} {this.buildDisplayBlock('position')}