Skip to content
Snippets Groups Projects
Commit db0471b7 authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FIX #21555 TIME 0:05 fix process delay var

parent 72113ced
No related branches found
No related tags found
No related merge requests found
...@@ -462,7 +462,8 @@ export class DoctypesAdministrationComponent implements OnInit { ...@@ -462,7 +462,8 @@ export class DoctypesAdministrationComponent implements OnInit {
toggleProcessDelay(value: boolean) { toggleProcessDelay(value: boolean) {
this.hideProcessDelay = !value; this.hideProcessDelay = !value;
this.currentType.process_delay = !this.hideProcessDelay ? -1 : this.currentTypeClone.process_delay; const processDelay: number = this.currentTypeClone.process_delay !== -1 ? this.currentTypeClone.process_delay : 0;
this.currentType.process_delay = !this.hideProcessDelay ? -1 : processDelay;
} }
} }
@Component({ @Component({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment