DEV: Remove ESLint warnings 🚨

This commit is contained in:
Rishabh
2019-01-22 17:19:01 +05:30
parent 77d603098f
commit a96bfdf6d5
8 changed files with 16 additions and 17 deletions
@@ -17,7 +17,7 @@ export default Ember.Controller.extend({
saveDisabled: Ember.computed.not("selectedItem.dirty"),
runDisabled: Ember.computed.alias("selectedItem.dirty"),
results: Em.computed.alias("selectedItem.results"),
results: Ember.computed.alias("selectedItem.results"),
asc: null,
order: null,
@@ -25,10 +25,10 @@ export default Ember.Controller.extend({
everEditing: false,
showRecentQueries: true,
sortBy: ["last_run_at:desc"],
sortedQueries: Em.computed.sort("model", "sortBy"),
sortedQueries: Ember.computed.sort("model", "sortBy"),
@computed("search", "sortBy")
filteredContent(search) {
filteredContent() {
const regexp = new RegExp(this.get("search"), "i");
return this.get("sortedQueries").filter(function(result) {
return (
@@ -2,7 +2,7 @@ import ModalFunctionality from "discourse/mixins/modal-functionality";
import { popupAjaxError } from "discourse/lib/ajax-error";
export default Ember.Controller.extend(ModalFunctionality, {
notReady: Em.computed.not("ready"),
notReady: Ember.computed.not("ready"),
adminPluginsExplorer: Ember.inject.controller(),