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 8f96ee0 commit 366cfa4Copy full SHA for 366cfa4
src/main/kotlin/org/digma/intellij/plugin/ui/list/insights/DurationBreakdownPanel.kt
@@ -53,9 +53,7 @@ fun spanDurationBreakdownPanel(
53
54
//calculate how many pages there are
55
lastPageNum = validBreakdownEntries.size / RECORDS_PER_PAGE + if (validBreakdownEntries.size % RECORDS_PER_PAGE != 0) 1 else 0
56
- if (currPageNum == 0) {
57
- currPageNum = if (lastPageNum > 0) 1 else 0
58
- }
+ currPageNum = if (lastPageNum > 0) 1 else 0
59
60
updateDurationBreakdownPanel(validBreakdownEntries)
61
return createInsightPanel(
0 commit comments