fix the build :fired:

This commit is contained in:
Arpit Jalan 2015-08-31 21:42:31 +05:30
parent eb96016043
commit abdb9467a8
1 changed files with 2 additions and 3 deletions

View File

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