From 87ec224a14d4e871e43e32f344d8f5a89e7e0ffc Mon Sep 17 00:00:00 2001 From: Syed Asher Ahmed Date: Mon, 10 Apr 2017 11:28:32 +0000 Subject: [PATCH] update username/email after changes issue #78 --- imports/ui/components/settings/Settings.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/imports/ui/components/settings/Settings.jsx b/imports/ui/components/settings/Settings.jsx index 4597a97..a73b734 100755 --- a/imports/ui/components/settings/Settings.jsx +++ b/imports/ui/components/settings/Settings.jsx @@ -433,7 +433,8 @@ class SettingsPage extends Component {
name: {Meteor.user().profile.fullName || 'Not Available'}
Contact Number: {Meteor.user().profile.contactNumber || 'Not Available'}
-
{Meteor.user().username ? 'Username:' : 'Email:' } {Meteor.user().username ? Meteor.user().username : Meteor.user().emails[0].address }
+
Username: { Meteor.user().username ? Meteor.user().username :'Not Available'}
+
Email: {Meteor.user().emails ? Meteor.user().emails[0].address :'Not Available'}
Address: {Meteor.user().profile.address || 'Not Available'}