diff --git a/webapp/src/app/modules/jobs/task-create-dialog/task-create-dialog.component.ts b/webapp/src/app/modules/jobs/task-create-dialog/task-create-dialog.component.ts index ee841c3f..d4d1ae50 100644 --- a/webapp/src/app/modules/jobs/task-create-dialog/task-create-dialog.component.ts +++ b/webapp/src/app/modules/jobs/task-create-dialog/task-create-dialog.component.ts @@ -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], }),