Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanTsukanov committed Oct 25, 2024
1 parent a5bce06 commit 78cd839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/survey-core/src/survey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2680,7 +2680,7 @@ export class SurveyModel extends SurveyElementCore
if (this.onGetQuestionNumber.isEmpty) return no;
const options: GetQuestionNumberEvent = { question: question, number: no, no: no };
this.onGetQuestionNumber.fire(this, options);
return options.number || options.no;
return options.no === no ? options.number : options.no;
}
getUpdatedPageNo(page: PageModel, no: string): string {
if (this.onGetPageNumber.isEmpty) return no;
Expand Down

0 comments on commit 78cd839

Please sign in to comment.