From 5ce658d25df2b1eba971131e33c412884fd8ab3f Mon Sep 17 00:00:00 2001 From: alexwl Date: Fri, 8 Mar 2019 13:51:55 +0300 Subject: Fix 'go to definition' on the Packages page --- javascript/app/controllers/packages.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'javascript/app') 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"); -- cgit v1.2.3