You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2020/03/19 12:13:26 UTC
[incubator-streampipes] 01/03: Modify SecretsController
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
commit 2fbe136308a24187697b8d7728776dc5665d9429
Author: Dominik Riemer <ri...@fzi.de>
AuthorDate: Thu Mar 19 13:08:04 2020 +0100
Modify SecretsController
---
ui/src/app/editor/components/secret/secret.controller.ts | 4 ++++
ui/src/app/services/notification-count-service.ts | 3 ---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/ui/src/app/editor/components/secret/secret.controller.ts b/ui/src/app/editor/components/secret/secret.controller.ts
index 626a456..709caee 100644
--- a/ui/src/app/editor/components/secret/secret.controller.ts
+++ b/ui/src/app/editor/components/secret/secret.controller.ts
@@ -16,6 +16,8 @@
*
*/
+import {OneOfRemoteController} from "../oneof-remote/oneof-remote.controller";
+
export class SecretController {
staticProperty: any;
@@ -43,3 +45,5 @@ export class SecretController {
this.staticProperty.properties.encrypted=false;
}
}
+
+SecretController.$inject = ['$scope', '$rootScope'];
diff --git a/ui/src/app/services/notification-count-service.ts b/ui/src/app/services/notification-count-service.ts
index 40511b2..f278fbd 100644
--- a/ui/src/app/services/notification-count-service.ts
+++ b/ui/src/app/services/notification-count-service.ts
@@ -38,9 +38,6 @@ export class NotificationCountService {
increaseNotificationCount(notification: NotificationItem) {
let id = this.makeId(notification.correspondingPipelineId, notification.title);
- console.log(id);
- console.log(this.lockNotificationId);
- console.log(id === this.lockNotificationId);
if (this.lockActive && (id === this.lockNotificationId)) {
} else {
this.unreadNotificationCount = this.unreadNotificationCount + 1;