Minor bugfix

This commit is contained in:
George Kalampokis 2020-02-12 09:48:46 +02:00
parent 8098b8bafd
commit 68908d3d77
1 changed files with 1 additions and 7 deletions

View File

@ -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() {