aboutsummaryrefslogtreecommitdiff
path: root/javascript/app/controllers
diff options
context:
space:
mode:
authoralexwl <alexey.a.kiryushin@gmail.com>2019-03-08 13:51:55 +0300
committeralexwl <alexey.a.kiryushin@gmail.com>2019-03-08 13:51:55 +0300
commit5ce658d25df2b1eba971131e33c412884fd8ab3f (patch)
tree3b72089fa33f4d437317e04e7ea4a9a227b3a84e /javascript/app/controllers
parentccc575431280fb8fed78011c5e6a73d00c2367a9 (diff)
Fix 'go to definition' on the Packages page
Diffstat (limited to 'javascript/app/controllers')
-rw-r--r--javascript/app/controllers/packages.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/javascript/app/controllers/packages.js b/javascript/app/controllers/packages.js
index 614ecd8..4bb10fc 100644
--- a/javascript/app/controllers/packages.js
+++ b/javascript/app/controllers/packages.js
@@ -1,7 +1,8 @@
import Ember from 'ember';
import {goToDefinition} from '../utils/go-to-definition';
-export default Ember.Controller.extend({
+export default Ember.Controller.extend({
+ store : Ember.inject.service('store'),
queryObserver : Ember.observer("query",function() {
Ember.run.debounce(this, () => {
const regExp = new RegExp(this.get('query'),"i");