Skip to content

Commit 220be51

Browse files
authored
fix(list-manager): fix list manager return value when no changes happened but values arrived (rx-angular#588)
1 parent ee59deb commit 220be51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/cdk/src/lib/template-management/list-template-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export function createListTemplateManager<
118118
// Cancel old renders
119119
switchMap(([{ changes, items }, strategy]) => {
120120
if (!changes) {
121-
return [];
121+
return of([]);
122122
}
123123
const listChanges = listViewHandler.getListChanges(changes, items);
124124
changesArr = listChanges[0];

0 commit comments

Comments
 (0)