Skip to content

Commit

Permalink
fix #8154 : search panel counter starts from 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Clem-Fern committed Apr 10, 2023
1 parent 3e55983 commit 9835466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tabby-terminal/src/components/searchPanel.component.pug
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
(keyup.esc)='close.emit()',
[placeholder]='"Search"|translate'
)
.input-group-text.result-counter(*ngIf='state.resultCount > 0') {{state.resultIndex ?? 0 + 1}} / {{state.resultCount}}
.input-group-text.result-counter(*ngIf='state.resultCount > 0') {{state.resultIndex + 1 ?? 1}} / {{state.resultCount}}

ng-container(*ngIf='state.resultCount > 0')
button.btn.btn-link(
Expand Down

0 comments on commit 9835466

Please sign in to comment.