Skip to content

Commit

Permalink
Merge branch 'w2p-113560_edit-item-add-relationships-one-by-one_contr…
Browse files Browse the repository at this point in the history
…ibute-7.6' into w2p-113560_edit-item-add-relationships-one-by-one_contribute-7_x
  • Loading branch information
alexandrevryghem committed May 17, 2024
2 parents f7c9058 + 9053489 commit 14dbced
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,9 @@ export class AbstractItemUpdateComponent extends AbstractTrackableComponent impl
}

this.discardTimeOut = environment.item.edit.undoTimeout;
this.url = this.router.url;
this.url = this.router.url.split('?')[0];
this.hasChanges$ = this.hasChanges();
this.isReinstatable$ = this.isReinstatable();
if (this.url.indexOf('?') > 0) {
this.url = this.url.substr(0, this.url.indexOf('?'));
}
this.hasChanges().pipe(first()).subscribe((hasChanges) => {
if (!hasChanges) {
this.initializeOriginalFields();
Expand Down

0 comments on commit 14dbced

Please sign in to comment.