From f029d64e78f51fb70fbdc5f6cac9df3b3b6424f8 Mon Sep 17 00:00:00 2001 From: mboehmlaender Date: Tue, 17 Mar 2026 14:53:13 +0000 Subject: [PATCH] 0.10.2-23 Fix --- frontend/src/components/JobDetailDialog.jsx | 57 ++++++++------------- 1 file changed, 20 insertions(+), 37 deletions(-) diff --git a/frontend/src/components/JobDetailDialog.jsx b/frontend/src/components/JobDetailDialog.jsx index e9b2380..804d5ce 100644 --- a/frontend/src/components/JobDetailDialog.jsx +++ b/frontend/src/components/JobDetailDialog.jsx @@ -487,7 +487,7 @@ export default function JobDetailDialog({ const allSettings = (res?.categories || []).flatMap((c) => c.settings || []); const val = allSettings.find((s) => s.key === 'ui_expert_mode')?.value; setExpertMode(val === 'true' || val === true); - }).catch(() => {}); + }).catch(() => { }); }, []); const mkDone = Boolean(job?.ripSuccessful) || !job?.makemkvInfo || job?.makemkvInfo?.status === 'SUCCESS'; @@ -852,23 +852,24 @@ export default function JobDetailDialog({ ) : null} {/* Titel-Liste */} - {Array.isArray(job.encodePlan?.titles) && job.encodePlan.titles.length > 0 ? ( -
- {job.encodePlan.titles.map((t) => { - const isSelected = t.id === job.encodePlan.encodeInputTitleId || t.selectedForEncode; - const sizeMb = t.sizeBytes > 0 ? `${(t.sizeBytes / 1024 / 1024).toFixed(0)} MB` : null; - return ( -
- #{t.id} - {t.fileName || '-'} - {t.durationMinutes != null ? `${t.durationMinutes} Min.` : '-'} - {sizeMb ? {sizeMb} : null} - {t.playlistFile ? {t.playlistFile} : null} - {isSelected ? gewählt : null} -
- ); - })} -
+ {!isCd && !isAudiobook && job.encodePlan ? ( +
+

Spurauswahl

+ 0 + ? Math.trunc(encodePlanUserPresetId) + : null} + /> +
) : null} ) : null} @@ -884,25 +885,7 @@ export default function JobDetailDialog({ - {!isCd && !isAudiobook && job.encodePlan ? ( -
-

Spurauswahl

- 0 - ? Math.trunc(encodePlanUserPresetId) - : null} - /> -
- ) : null} +

Log

{showFinalLog ? (