Missing $inject fixed
This commit is contained in:
parent
9b153aec5a
commit
d8b39ea5ac
|
@ -25,6 +25,7 @@ class ClientDescriptor {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
ClientDescriptor.$inject = ['$http'];
|
||||||
|
|
||||||
ngModule.component('vnClientDescriptor', {
|
ngModule.component('vnClientDescriptor', {
|
||||||
template: require('./descriptor.html'),
|
template: require('./descriptor.html'),
|
||||||
|
|
|
@ -157,7 +157,6 @@ export default class Popover extends Component {
|
||||||
if (event.keyCode == 27) { // Esc
|
if (event.keyCode == 27) { // Esc
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
this.hide();
|
this.hide();
|
||||||
this.$.$applyAsync();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue