0.10.2-20 Buttons
This commit is contained in:
@@ -920,7 +920,10 @@ export default function HistoryPage({ refreshToken = 0 }) {
|
||||
infoItems.push({ key: 'author', label: 'Autor', value: audiobookDetails.author });
|
||||
}
|
||||
if (audiobookDetails.narrator) {
|
||||
infoItems.push({ key: 'narrator', label: 'Sprecher', value: audiobookDetails.narrator });
|
||||
const narratorShort = audiobookDetails.narrator.length > 48
|
||||
? `${audiobookDetails.narrator.slice(0, 48).trimEnd()}…`
|
||||
: audiobookDetails.narrator;
|
||||
infoItems.push({ key: 'narrator', label: 'Sprecher', value: narratorShort });
|
||||
}
|
||||
if (audiobookDetails.chapterCount > 0) {
|
||||
infoItems.push({ key: 'chapters', label: 'Kapitel', value: String(audiobookDetails.chapterCount) });
|
||||
|
||||
Reference in New Issue
Block a user