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

Commit ec1b981

Browse files
committed
Fixed image saving for settings
1 parent 0ff5694 commit ec1b981

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
@@ -51,7 +51,7 @@
5151
}
5252
}
5353
});
54-
});
54+
}, 400);
5555
}
5656

5757
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)