fix(jobs): start the new-job image field empty instead of prefilled
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/head This commit looks good
This commit is contained in:
@@ -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],
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user