Skip to content

a8m.where when collection is undefined #87

Open
@rodolfojnn

Description

When collection is undefined on where filter, we got:

"TypeError: Cannot read property 'filter' of undefined"

A simple check solve the problem.

if(!collection)) { return false; }

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions