Allow edit of captioning job

This commit is contained in:
Jaret Burkett
2026-04-30 16:00:16 -06:00
parent eadc9a58af
commit 0d91fcee9e
5 changed files with 88 additions and 12 deletions

View File

@@ -82,10 +82,6 @@ export const getAvaliableJobActions = (job: Job) => {
if (job.status === 'completed' && (jobConfig.config.process[0].train?.steps || 0) > job.step && !isStopping) {
canStart = true;
}
if (job.job_type !== 'train') {
// for non-train jobs, allow editing unless it's currently running
canEdit = false;
}
return { canDelete, canEdit, canStop, canStart, canRemoveFromQueue };
};