# Conflicts: # CHANGES.md # package.json
@@ -5,10 +5,14 @@
* Support: Upgrade libs
* bootstrap
-## v3.7.4-RC
+## v3.7.5
*
+## v3.7.4
+
+* Fix: Broken by displaying user image
## v3.7.3
* Feature: Profile Image Cropping
@@ -79,7 +79,7 @@ class MailSetting extends React.Component {
<input
className="form-control"
type="text"
- defaultValue={adminAppContainer.state.SmtpUser || ''}
+ defaultValue={adminAppContainer.state.smtpUser || ''}
onChange={(e) => { adminAppContainer.changeSmtpUser(e.target.value) }}
/>
</div>
@@ -70,6 +70,9 @@ export default class PersonalContainer extends Container {
* define a function for uploaded picture
*/
getUploadedPictureSrc(user) {
+ if (user == null) {
+ return DEFAULT_IMAGE;
+ }
if (user.image) {
this.setState({ isUploadedPicture: true });
return user.image;