fix(jobs): start the new-job image field empty instead of prefilled
LocationBasedServices/smartguide/pipeline/head This commit looks good

This commit is contained in:
2026-07-24 13:20:12 +02:00
parent 82d2c508b8
commit 9d24c0a9bb
@@ -18,8 +18,6 @@ import { BackgroundJobTask, BackgroundJobsService } from '../../../api';
const ENV_LINE_PATTERN = /^[A-Za-z_][A-Za-z0-9_]*=.*$/;
const DEFAULT_JOB_IMAGE = 'docker.nes.uni-due.de/inse/background-jobs:latest';
@Component({
selector: 'app-task-create-dialog',
imports: [
@@ -56,7 +54,7 @@ export class TaskCreateDialogComponent implements OnInit {
description: new FormControl('', { nonNullable: true }),
targetIndex: new FormControl('', { nonNullable: true }),
command: new FormControl('', { nonNullable: true }),
image: new FormControl(DEFAULT_JOB_IMAGE, {
image: new FormControl('', {
nonNullable: true,
validators: [Validators.required],
}),