mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-09 19:01:41 +00:00
fallback on error
This commit is contained in:
parent
3e5db7f2bd
commit
7b54c6f66a
1 changed files with 2 additions and 3 deletions
|
|
@ -150,10 +150,9 @@ export default {
|
|||
|
||||
return years
|
||||
}
|
||||
} else {
|
||||
const currentYear = new Date().getFullYear();
|
||||
return [{ value: currentYear, text: currentYear.toString() }]
|
||||
}
|
||||
// Fallback on error
|
||||
return [{ value: this.yearInReviewYear, text: this.yearInReviewYear.toString() }]
|
||||
},
|
||||
},
|
||||
beforeMount() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue