Skip to content

Commit

Permalink
DSpace#3217: Do not subscribe to model valueChanges for onebox values
Browse files Browse the repository at this point in the history
  • Loading branch information
kshepherd committed Aug 1, 2024
1 parent 6657b46 commit b43434a
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,6 @@ export class DsDynamicOneboxComponent extends DsDynamicVocabularyComponent imple
this.isHierarchicalVocabulary$ = this.vocabulary$.pipe(
map((result: Vocabulary) => result.hierarchical),
);

this.subs.push(this.group.get(this.model.id).valueChanges.pipe(
filter((value) => this.currentValue !== value))
.subscribe((value) => {
this.setCurrentValue(this.model.value);
}));
}

/**
Expand Down

0 comments on commit b43434a

Please sign in to comment.