Merge pull request #4952 from sir-wilhelm/use-localized-text-for-selected-filter
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Run Component Tests / Run Component Tests (push) Waiting to run
Build and Push Docker Image / build (push) Waiting to run
Integration Test / build and test (push) Waiting to run
Run Unit Tests / Run Unit Tests (push) Waiting to run

Display localized/styled text for selected filter.
This commit is contained in:
advplyr 2026-01-31 17:56:07 -06:00 committed by GitHub
commit 8498378bca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -338,6 +338,18 @@ export default {
const series = this.series.find((se) => se.id == decoded)
if (series) filterValue = series.name
}
} else if (parts[0] === 'progress') {
const item = this.progress.find((p) => p.id == decoded)
if (item) filterValue = item.name
} else if (parts[0] === 'tracks') {
const item = this.tracks.find((t) => t.id == decoded)
if (item) filterValue = item.name
} else if (parts[0] === 'ebooks') {
const item = this.ebooks.find((e) => e.id == decoded)
if (item) filterValue = item.name
} else if (parts[0] === 'missing') {
const item = this.missing.find((m) => m.id == decoded)
if (item) filterValue = item.name
} else {
filterValue = decoded
}