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 2021/07/13 21:45:18 UTC
[incubator-streampipes] 06/07: [STREAMPIPES-398] Add missing
dependency injection
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch STREAMPIPES-319
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
commit 0258c9a9e03ee82f9168eefa517dddf4ab8ead05
Author: Dominik Riemer <ri...@fzi.de>
AuthorDate: Tue Jul 13 21:56:57 2021 +0200
[STREAMPIPES-398] Add missing dependency injection
---
.../profile/components/general/general-profile-settings.component.ts | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/ui/src/app/profile/components/general/general-profile-settings.component.ts b/ui/src/app/profile/components/general/general-profile-settings.component.ts
index bd0726b..cf6fcdb 100644
--- a/ui/src/app/profile/components/general/general-profile-settings.component.ts
+++ b/ui/src/app/profile/components/general/general-profile-settings.component.ts
@@ -20,6 +20,7 @@ import {Component, OnInit} from "@angular/core";
import {ProfileService} from "../../profile.service";
import {User} from "../../../core-model/gen/streampipes-model-client";
import {BasicProfileSettings} from "../basic-profile-settings";
+import {AppConstants} from "../../../services/app.constants";
@Component({
selector: 'general-profile-settings',
@@ -28,8 +29,8 @@ import {BasicProfileSettings} from "../basic-profile-settings";
})
export class GeneralProfileSettingsComponent extends BasicProfileSettings implements OnInit {
- constructor(profileService: ProfileService) {
- super(profileService);
+ constructor(profileService: ProfileService, appConstants: AppConstants) {
+ super(profileService, appConstants);
}
ngOnInit(): void {