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 459421d commit 94241d3Copy full SHA for 94241d3
frontend/src/components/sdcCollection/SDCCollectionSummary.vue
@@ -276,7 +276,7 @@ export default {
276
return this.instituteCollectionID !== null;
277
},
278
calculateStep() {
279
- this.noOfStepsCompleted = this.currentStepIndex;
+ this.noOfStepsCompleted = this.currentStepIndex ?? 0;
280
this.incomingChartData = [this.noOfStepsCompleted, (this.totalStepsInCollection - this.noOfStepsCompleted)];
281
282
getHistoricCollections() {
0 commit comments