0.12.0-2 Checkable Infrastructure
This commit is contained in:
@@ -129,6 +129,7 @@ export default function AudiobookConfigPanel({
|
||||
onStart,
|
||||
onCancel,
|
||||
onRetry,
|
||||
onDeleteJob,
|
||||
busy
|
||||
}) {
|
||||
const context = pipeline?.context && typeof pipeline.context === 'object' ? pipeline.context : {};
|
||||
@@ -353,6 +354,17 @@ export default function AudiobookConfigPanel({
|
||||
/>
|
||||
) : null}
|
||||
|
||||
{jobId ? (
|
||||
<Button
|
||||
label="Job löschen"
|
||||
icon="pi pi-trash"
|
||||
severity="danger"
|
||||
outlined
|
||||
onClick={() => onDeleteJob?.(jobId)}
|
||||
loading={busy}
|
||||
/>
|
||||
) : null}
|
||||
|
||||
{isRunning ? (
|
||||
<Button
|
||||
label="Abbrechen"
|
||||
|
||||
Reference in New Issue
Block a user