Skip to content

Commit

Permalink
Refactor: slightly refactor the way the search is triggered within th…
Browse files Browse the repository at this point in the history
…e component
  • Loading branch information
TIL-EBP committed Nov 6, 2024
1 parent 69c1781 commit 4f1fe37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class AssetEditorTabReferencesComponent implements OnInit {
this._authorSearchInput$.pipe(
debounceTime(300),
switchMap(
(value): Observable<LinkedAsset[]> =>
(value): Observable<AssetEditDetail[]> =>
value.length >= 3
? this._httpClient
.post(`/api/assets/search?limit=10`, {
Expand Down

0 comments on commit 4f1fe37

Please sign in to comment.