Trim whitespace in certain string fields for better overview

Fixed ASIN-Search
fixes #2605
This commit is contained in:
bloedboemmel 2024-02-12 12:18:48 +00:00
parent ce7f81d676
commit 3b2b72c6da
5 changed files with 7 additions and 5 deletions

View file

@ -232,7 +232,7 @@ class Book extends Model {
chapters: this.chapters?.map(c => ({ ...c })) || [],
title: this.title,
subtitle: this.subtitle,
authors: this.authors.map(a => a.name),
authors: this.authors.map(a => a.name.trim()),
narrators: this.narrators,
series: this.series.map(se => {
const sequence = se.bookSeries?.sequence || ''