@the-liberators/ngx-scrumteamsurvey-tools 2.3.104 → 2.3.105
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -513,11 +513,11 @@ class ActionManageComponent extends ComponentBase {
|
|
|
513
513
|
if (success.loaded) {
|
|
514
514
|
this.factors = this.getFactors(success.factorScores.modelStructure);
|
|
515
515
|
this.expectedEffectOnList = success.factorScores.factorScores.map(p => new ActionOptionDto(p.key, p.name));
|
|
516
|
-
if (success.
|
|
517
|
-
this.teams.
|
|
516
|
+
if (success.teamList.names != null) { // teams dashboard
|
|
517
|
+
this.teams = success.teamList.names.map(p => new ActionOptionDto(p.publicKey, p.name));
|
|
518
518
|
}
|
|
519
|
-
else {
|
|
520
|
-
this.teams
|
|
519
|
+
else if (success.teamMetaData != null) { // team report
|
|
520
|
+
this.teams.push(new ActionOptionDto(success.teamMetaData.teamKey, success.teamMetaData.name));
|
|
521
521
|
}
|
|
522
522
|
if (this.teams.length == 1) {
|
|
523
523
|
this.prefill.teamKey = this.teams[0].key;
|