Skip to content

Commit

Permalink
Step 23.14: Return an empty array instead of false
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Kisiela authored and Dotan Simha committed Nov 22, 2016
1 parent 18e4b26 commit 52edf9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imports/ui/filters/uninvitedPipe.ts
Expand Up @@ -9,7 +9,7 @@ const name = 'uninvited';
export class UninvitedPipe {
transform(users, party) {
if (!party) {
return false;
return [];
}

return users.filter((user) => {
Expand Down

0 comments on commit 52edf9a

Please sign in to comment.