mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Linting and broken test
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
import computed from 'ember-addons/ember-computed-decorators';
|
|
||||||
|
|
||||||
export default Ember.Mixin.create({
|
export default Ember.Mixin.create({
|
||||||
adminTools: Ember.inject.service(),
|
adminTools: Ember.inject.service(),
|
||||||
spammerDetails: null,
|
spammerDetails: null,
|
||||||
@@ -22,5 +20,4 @@ export default Ember.Mixin.create({
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
import computed from 'ember-addons/ember-computed-decorators';
|
import computed from 'ember-addons/ember-computed-decorators';
|
||||||
import { popupAjaxError } from 'discourse/lib/ajax-error';
|
import { popupAjaxError } from 'discourse/lib/ajax-error';
|
||||||
import DiscourseURL from 'discourse/lib/url';
|
import DiscourseURL from 'discourse/lib/url';
|
||||||
|
import ModalFunctionality from 'discourse/mixins/modal-functionality';
|
||||||
|
|
||||||
export default Ember.Controller.extend({
|
export default Ember.Controller.extend(ModalFunctionality, {
|
||||||
loading: false,
|
loading: false,
|
||||||
reason: Ember.computed.alias('model.membership_request_template'),
|
reason: Ember.computed.alias('model.membership_request_template'),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user