0.12.0-2 Checkable Infrastructure
This commit is contained in:
@@ -229,6 +229,7 @@ export default function CdRipConfigPanel({
|
||||
onRetry,
|
||||
onRestartReview,
|
||||
onOpenMetadata,
|
||||
onDeleteJob,
|
||||
busy
|
||||
}) {
|
||||
const context = pipeline?.context && typeof pipeline.context === 'object' ? pipeline.context : {};
|
||||
@@ -809,6 +810,16 @@ export default function CdRipConfigPanel({
|
||||
onClick={() => onCancel && onCancel()}
|
||||
disabled={busy}
|
||||
/>
|
||||
{jobId ? (
|
||||
<Button
|
||||
label="Job löschen"
|
||||
icon="pi pi-trash"
|
||||
severity="danger"
|
||||
outlined
|
||||
onClick={() => onDeleteJob && onDeleteJob(jobId)}
|
||||
disabled={busy}
|
||||
/>
|
||||
) : null}
|
||||
</div>
|
||||
) : null}
|
||||
{isTerminalFailure ? (
|
||||
@@ -851,6 +862,16 @@ export default function CdRipConfigPanel({
|
||||
loading={busy}
|
||||
/>
|
||||
) : null}
|
||||
{jobId ? (
|
||||
<Button
|
||||
label="Job löschen"
|
||||
icon="pi pi-trash"
|
||||
severity="danger"
|
||||
outlined
|
||||
onClick={() => onDeleteJob && onDeleteJob(jobId)}
|
||||
loading={busy}
|
||||
/>
|
||||
) : null}
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
@@ -1297,6 +1318,16 @@ export default function CdRipConfigPanel({
|
||||
disabled={busy}
|
||||
/>
|
||||
) : null}
|
||||
{jobId ? (
|
||||
<Button
|
||||
label="Job löschen"
|
||||
icon="pi pi-trash"
|
||||
severity="danger"
|
||||
outlined
|
||||
onClick={() => onDeleteJob && onDeleteJob(jobId)}
|
||||
disabled={busy}
|
||||
/>
|
||||
) : null}
|
||||
<Button
|
||||
label="Abbrechen"
|
||||
severity="secondary"
|
||||
|
||||
Reference in New Issue
Block a user