Update dashboard table reports (#1653)
Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
co-authored by
Jose Alberto Hernandez
parent
e61f4f92e3
commit
9ed38f0f7b
@@ -191,7 +191,6 @@ export class EditSurveyComponent implements OnInit {
|
||||
updateSequenceNumber() {
|
||||
for (let questionIndex = 0; questionIndex < this.questionDatas.length; questionIndex++) {
|
||||
this.questionDatas.at(questionIndex).get('sequenceNo').setValue(questionIndex + 1);
|
||||
console.log(this.questionDatas);
|
||||
for (let responseIndex = 0; responseIndex < this.getResponseDatas(questionIndex).length; responseIndex++) {
|
||||
this.getResponseDatas(questionIndex).at(responseIndex).get('sequenceNo').setValue(responseIndex + 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user