Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 2f76c70

Browse files
committed
Merge pull request #539 from appirio-tech/feature/tom-SUP-2120
Fixed image saving for settings
2 parents 30eaa52 + ec1b981 commit 2f76c70

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/settings/account-info/account-info.controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
}
5353
}
5454
});
55-
});
55+
}, 400);
5656
}
5757

5858
function updateCountry(angucompleteCountryObj) {

app/settings/edit-profile/edit-profile.controller.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
.then(ImageService.createFileRecord)
114114
.then(function(newPhotoURL) {
115115
vm.userData.photoURL = newPhotoURL;
116+
userData.photoURL = newPhotoURL;
116117
$rootScope.$broadcast(CONSTANTS.EVENT_PROFILE_UPDATED);
117118
});
118119
}

0 commit comments

Comments
 (0)