mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-02-01 15:59:38 +00:00
Display localized/styled text for selected filter.
The selected filter was using the id before.
This commit is contained in:
parent
122fc34a75
commit
e6d99d07f0
1 changed files with 12 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue