mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -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'),
|
||||
model = this.get('model');
|
||||
|
||||
var topicId = null;
|
||||
if (this.get('invitingToTopic')) {
|
||||
var topicId = this.get('model.id');
|
||||
} else {
|
||||
var topicId = null;
|
||||
topicId = this.get('model.id');
|
||||
}
|
||||
|
||||
model.setProperties({ saving: true, error: false });
|
||||
|
|
Loading…
Reference in a new issue