Minor bugfix
This commit is contained in:
parent
8098b8bafd
commit
68908d3d77
|
@ -543,13 +543,7 @@ export class DmpEditorComponent extends BaseComponent implements OnInit, IBreadC
|
|||
|
||||
private pumpLock() {
|
||||
this.lock.touchedAt = new Date();
|
||||
this.lockService.createOrUpdate(this.lock).pipe(takeUntil(this._destroyed)).subscribe( async result => {
|
||||
if (!isNullOrUndefined(result)) {
|
||||
this.lock.id = Guid.parse(result);
|
||||
} else {
|
||||
this.location.back();
|
||||
}
|
||||
});
|
||||
this.lockService.createOrUpdate(this.lock).pipe(takeUntil(this._destroyed)).subscribe( async result => this.lock.id = Guid.parse(result));
|
||||
}
|
||||
|
||||
// advancedClicked() {
|
||||
|
|
Loading…
Reference in New Issue