fix the build :fired:

This commit is contained in:
Arpit Jalan 2015-08-31 21:42:31 +05:30
parent eb96016043
commit abdb9467a8

View file

@ -176,10 +176,9 @@ export default Ember.Controller.extend(ModalFunctionality, {
userInvitedController = this.get('controllers.user-invited-show'), userInvitedController = this.get('controllers.user-invited-show'),
model = this.get('model'); model = this.get('model');
var topicId = null;
if (this.get('invitingToTopic')) { if (this.get('invitingToTopic')) {
var topicId = this.get('model.id'); topicId = this.get('model.id');
} else {
var topicId = null;
} }
model.setProperties({ saving: true, error: false }); model.setProperties({ saving: true, error: false });