We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa9ea23 commit dfebf16Copy full SHA for dfebf16
1 file changed
src/app/component/mapping/mapping.component.ts
@@ -154,12 +154,18 @@ export class MappingComponent implements OnInit {
154
]
155
);
156
for (let a = 0; a < activityInCurrentSubDimension.length; a++) {
157
- if (a == 0) {
158
- this.allTeams = Object.keys(
+ if (!this.allTeams || this.allTeams.length == 0) {
+ if (
159
this.YamlObject[this.allDimensionNames[i]][
160
subdimensionsInCurrentDimension[j]
161
][activityInCurrentSubDimension[a]]['teamsImplemented']
162
- );
+ ) {
163
+ this.allTeams = Object.keys(
164
+ this.YamlObject[this.allDimensionNames[i]][
165
+ subdimensionsInCurrentDimension[j]
166
+ ][activityInCurrentSubDimension[a]]['teamsImplemented']
167
+ );
168
+ }
169
}
170
this.setValueandAppendToDatasetSortedbyActivity(
171
this.allDimensionNames[i],
0 commit comments