[ADF-3946] Add the GroupCloudComponent to the StartTaskCloudComponent (#4202)

* Add GroupComponent to the start task cloud

* [ADF-3946] Exported unexported componentes in group module

* [ADF-3946] Used group module in start task module

* Fix import

* Fix build name

* Fix build name unit tests

* Fix unit test

* Add space to rebuild travis
This commit is contained in:
Maurizio Vitale
2019-01-24 14:18:35 +00:00
committed by GitHub
parent c34ff07dd4
commit a872c6d8fa
11 changed files with 35 additions and 13 deletions

View File

@@ -48,7 +48,7 @@ export class GroupCloudComponent implements OnInit {
/** Name of the application. If specified this shows the users who have access to the app. */
@Input()
applicationName: string;
appName: string;
/** User selection mode (single/multiple). */
@Input()
@@ -97,14 +97,14 @@ export class GroupCloudComponent implements OnInit {
this.loadPreSelectGroups();
this.initSearch();
if (this.applicationName) {
if (this.appName) {
this.disableSearch();
this.loadClientId();
}
}
private async loadClientId() {
this.clientId = await this.groupService.getClientIdByApplicationName(this.applicationName).toPromise();
this.clientId = await this.groupService.getClientIdByApplicationName(this.appName).toPromise();
if (this.clientId) {
this.enableSearch();
}