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 5a64e49 commit c0d06feCopy full SHA for c0d06fe
src/utils/resultsbuilder/CustomLabelMigrationReporter.ts
@@ -75,6 +75,11 @@ export class CustomLabelMigrationReporter {
75
}
76
77
public static generateCustomTemplateForPage(page: number, totalPages: number): string {
78
+ // Don't show pagination if there's only 1 page
79
+ if (totalPages === 1) {
80
+ return '';
81
+ }
82
+
83
// Calculate the range of pages to show around current page
84
const range = 2; // Show 2 pages on each side of current page
85
const start = Math.max(2, page - range);
0 commit comments