Commit 78bb498f authored by Chris Hines's avatar Chris Hines
Browse files

fix regression where changing the requested time was not reflected in the actual job

parent ef9e0a8a
Pipeline #7818 passed with stages
in 4 minutes and 53 seconds
...@@ -5,7 +5,7 @@ import { Renderer2 } from '@angular/core'; ...@@ -5,7 +5,7 @@ import { Renderer2 } from '@angular/core';
import { TesService } from '../tes.service'; import { TesService } from '../tes.service';
import { Observable, merge, pipe, timer, Subscription} from 'rxjs'; import { Observable, merge, pipe, timer, Subscription} from 'rxjs';
import { BehaviorSubject } from 'rxjs'; import { BehaviorSubject } from 'rxjs';
import { take } from 'rxjs/operators'; import { take, skip } from 'rxjs/operators';
import { Identity } from '../identity'; import { Identity } from '../identity';
import { Strudelapp } from '../strudelapp'; import { Strudelapp } from '../strudelapp';
import { BatchInterface} from '../batchinterface'; import { BatchInterface} from '../batchinterface';
...@@ -142,9 +142,9 @@ export class LaunchDialogComponent implements OnInit { ...@@ -142,9 +142,9 @@ export class LaunchDialogComponent implements OnInit {
launch() { launch() {
// tell the batchbuilder iframe that lanch was selected // tell the batchbuilder iframe that lanch was selected
// This is the queue to save the values as defaults for next launch // This is the cue to save the values as defaults for next launch
this.batchbuilderiframe.nativeElement.contentWindow.postMessage('launch selected',"*"); this.batchbuilderiframe.nativeElement.contentWindow.postMessage('launch selected',"*");
this.submitcmd.pipe(take(1)).subscribe( (submitcmd) => this.reallyLaunch(submitcmd)) this.submitcmd.pipe(skip(1),take(1)).subscribe( (submitcmd) => this.reallyLaunch(submitcmd))
this.launchNext=true; this.launchNext=true;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment