Skip to content

Commit

Permalink
update username/email after changes issue #78
Browse files Browse the repository at this point in the history
  • Loading branch information
Syed Asher Ahmed committed Apr 10, 2017
1 parent c51d0bd commit 87ec224
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion imports/ui/components/settings/Settings.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,8 @@ class SettingsPage extends Component {
<div className={theme.cardContent}>
<h6>name: <span>{Meteor.user().profile.fullName || 'Not Available'}</span></h6>
<h6>Contact Number: <span> {Meteor.user().profile.contactNumber || 'Not Available'}</span></h6>
<h6> <span> {Meteor.user().username ? 'Username:' : 'Email:' } </span> {Meteor.user().username ? Meteor.user().username : Meteor.user().emails[0].address }</h6>
<h6>Username:<span> { Meteor.user().username ? Meteor.user().username :'Not Available'} </span> </h6>
<h6>Email: <span> {Meteor.user().emails ? Meteor.user().emails[0].address :'Not Available'}</span></h6>
<h6>Address: <span> {Meteor.user().profile.address || 'Not Available'}</span></h6>
<div className={theme.settingBtn}>
<Button label='EDIT INFO' raised accent onClick={this.openPopup.bind(this, 'personalInformation')} />
Expand Down

0 comments on commit 87ec224

Please sign in to comment.