From d8b39ea5ac25d36e16cf82604b2634f5ac4c522e Mon Sep 17 00:00:00 2001 From: Juan Date: Tue, 13 Mar 2018 13:15:06 +0100 Subject: [PATCH] Missing $inject fixed --- client/client/src/descriptor/descriptor.js | 1 + client/core/src/components/popover/popover.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client/src/descriptor/descriptor.js b/client/client/src/descriptor/descriptor.js index 729b85fb3..b8d68c493 100644 --- a/client/client/src/descriptor/descriptor.js +++ b/client/client/src/descriptor/descriptor.js @@ -25,6 +25,7 @@ class ClientDescriptor { } } } +ClientDescriptor.$inject = ['$http']; ngModule.component('vnClientDescriptor', { template: require('./descriptor.html'), diff --git a/client/core/src/components/popover/popover.js b/client/core/src/components/popover/popover.js index 253e00e95..4e2326c77 100644 --- a/client/core/src/components/popover/popover.js +++ b/client/core/src/components/popover/popover.js @@ -157,7 +157,6 @@ export default class Popover extends Component { if (event.keyCode == 27) { // Esc event.preventDefault(); this.hide(); - this.$.$applyAsync(); } }