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() {
|
private pumpLock() {
|
||||||
this.lock.touchedAt = new Date();
|
this.lock.touchedAt = new Date();
|
||||||
this.lockService.createOrUpdate(this.lock).pipe(takeUntil(this._destroyed)).subscribe( async result => {
|
this.lockService.createOrUpdate(this.lock).pipe(takeUntil(this._destroyed)).subscribe( async result => this.lock.id = Guid.parse(result));
|
||||||
if (!isNullOrUndefined(result)) {
|
|
||||||
this.lock.id = Guid.parse(result);
|
|
||||||
} else {
|
|
||||||
this.location.back();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// advancedClicked() {
|
// advancedClicked() {
|
||||||
|
|
Loading…
Reference in New Issue