mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
fix the build
This commit is contained in:
parent
93f9dcfcec
commit
a28df55518
1 changed files with 2 additions and 2 deletions
|
@ -49,9 +49,9 @@ export default RestrictedUserRoute.extend({
|
|||
const user = this.modelFor('user'),
|
||||
controller = this.controllerFor('avatar-selector'),
|
||||
selectedUploadId = controller.get("selectedUploadId"),
|
||||
selectedAvatarTemplate = controller.get("selectedAvatarTemplate"),
|
||||
type = controller.get("selected");
|
||||
selectedAvatarTemplate = controller.get("selectedAvatarTemplate");
|
||||
|
||||
let type = controller.get("selected");
|
||||
if (type === "uploaded") { type = "custom" }
|
||||
|
||||
user.pickAvatar(selectedUploadId, type, selectedAvatarTemplate)
|
||||
|
|
Loading…
Reference in a new issue