Merge pull request #8198 from Clem-Fern/fix#8154

fix Eugeny/tabby#8154 : search panel counter starts from 0
This commit is contained in:
Eugene 2023-04-10 16:29:36 +02:00 committed by GitHub
commit 7da2a15bf7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ?? 0) + 1}} / {{state.resultCount}}
ng-container(*ngIf='state.resultCount > 0')
button.btn.btn-link(