mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
fix the build :fired:
This commit is contained in:
parent
eb96016043
commit
abdb9467a8
1 changed files with 2 additions and 3 deletions
|
@ -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 });
|
||||||
|
|
Loading…
Reference in a new issue