Allow edit of captioning job
This commit is contained in:
@@ -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 };
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user