mirror of
https://github.com/discourse/discourse.git
synced 2025-02-18 09:15:19 +00:00
fix the build :fired:
This commit is contained in:
parent
eb96016043
commit
abdb9467a8
@ -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');
|
||||||
|
|
||||||
if (this.get('invitingToTopic')) {
|
|
||||||
var topicId = this.get('model.id');
|
|
||||||
} else {
|
|
||||||
var topicId = null;
|
var topicId = null;
|
||||||
|
if (this.get('invitingToTopic')) {
|
||||||
|
topicId = this.get('model.id');
|
||||||
}
|
}
|
||||||
|
|
||||||
model.setProperties({ saving: true, error: false });
|
model.setProperties({ saving: true, error: false });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user