0.10.2-20 Buttons

This commit is contained in:
2026-03-17 13:58:29 +00:00
parent 900faf773a
commit b8cccd0045
2 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -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) });