Вキ
Size: a a a
Вキ
ДМ
Вキ
ДМ
Вキ
ДМ
ДМ
Вキ
Вキ
ДМ
ДМ
Вキ
АО
withLatestFrom(…startsWith())
private filterBySearchTerm() {
return withLatestFrom(
this.debouncedSearchTerm$.pipe(
startWith(defaultSearchTerm)
)
).pipe(
map([integrations, searchTerm] => {
return filterBySearchTerm(integrations, searchTerm)
})
);
}
private filterByTags(): MonoTypeOperatorFunction<ReadonlyArray<IUIIntegration>> {
return withLatestFrom(
this.integrationsListFilterStateService.getNested('selectedTagIds').pipe(
startWith(null)
)
).pipe(
map([integrations, tagIds] => {
if (tagIds != null && tagIds.length > 0) {
filterByTags(integrations, tagIds);
} else {
return integrations;
}
})
);
}
KA
N👩
KA
N👩
Вキ