Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/release/6.0.3' into release/6.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
machacjozef committed Mar 28, 2022
2 parents 8022954 + 9d3e98c commit 1b13fcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,4 @@ testem.log
# System Files
.DS_Store
Thumbs.db

package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export class ProcessService implements OnDestroy {
protected _netUpdate: Subject<Net>;
protected _requestCache: Map<string, ReplaySubject<Net>>;
protected _referenceRequestCache: Map<string, ReplaySubject<PetriNetReferenceWithPermissions>>;
public readonly LATEST = 'latest';

constructor(private _petriNetResource: PetriNetResourceService, private _log: LoggerService) {
this._nets = {};
Expand Down Expand Up @@ -267,7 +268,7 @@ export class ProcessService implements OnDestroy {

protected loadNetReference(id: string): Observable<PetriNetReference> {
const returnReference = new ReplaySubject<PetriNetReference>(1);
this._petriNetResource.getOne(id, '^').subscribe(reference => {
this._petriNetResource.getOne(id, this.LATEST).subscribe(reference => {
returnReference.next(!reference.stringId ? null : reference);
returnReference.complete();
return;
Expand Down

0 comments on commit 1b13fcc

Please sign in to comment.