From 9d24c0a9bb660b4d740920c19db30ab2efcce7ba Mon Sep 17 00:00:00 2001 From: louis-19041904 Date: Fri, 24 Jul 2026 13:20:12 +0200 Subject: [PATCH] fix(jobs): start the new-job image field empty instead of prefilled --- .../jobs/task-create-dialog/task-create-dialog.component.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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], }),