fix the build
This commit is contained in:
parent
93f9dcfcec
commit
a28df55518
|
@ -49,9 +49,9 @@ export default RestrictedUserRoute.extend({
|
||||||
const user = this.modelFor('user'),
|
const user = this.modelFor('user'),
|
||||||
controller = this.controllerFor('avatar-selector'),
|
controller = this.controllerFor('avatar-selector'),
|
||||||
selectedUploadId = controller.get("selectedUploadId"),
|
selectedUploadId = controller.get("selectedUploadId"),
|
||||||
selectedAvatarTemplate = controller.get("selectedAvatarTemplate"),
|
selectedAvatarTemplate = controller.get("selectedAvatarTemplate");
|
||||||
type = controller.get("selected");
|
|
||||||
|
|
||||||
|
let type = controller.get("selected");
|
||||||
if (type === "uploaded") { type = "custom" }
|
if (type === "uploaded") { type = "custom" }
|
||||||
|
|
||||||
user.pickAvatar(selectedUploadId, type, selectedAvatarTemplate)
|
user.pickAvatar(selectedUploadId, type, selectedAvatarTemplate)
|
||||||
|
|
Loading…
Reference in New Issue