Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
2 merge requests!21New css dev,!19Dev
Pipeline #7818 passed
......@@ -5,7 +5,7 @@ import { Renderer2 } from '@angular/core';
import { TesService } from '../tes.service';
import { Observable, merge, pipe, timer, Subscription} from 'rxjs';
import { BehaviorSubject } from 'rxjs';
import { take } from 'rxjs/operators';
import { take, skip } from 'rxjs/operators';
import { Identity } from '../identity';
import { Strudelapp } from '../strudelapp';
import { BatchInterface} from '../batchinterface';
......@@ -142,9 +142,9 @@ export class LaunchDialogComponent implements OnInit {
launch() {
// 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.submitcmd.pipe(take(1)).subscribe( (submitcmd) => this.reallyLaunch(submitcmd))
this.submitcmd.pipe(skip(1),take(1)).subscribe( (submitcmd) => this.reallyLaunch(submitcmd))
this.launchNext=true;
}
......
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