Skip to content

If the lower or upper bounds are a value of zero, this check just nulls them out #70

@aaroncox

Description

@aaroncox

contract/src/utils.ts

Lines 62 to 64 in eec0425

if (!value) {
return
}

This prevents a JS value of 0 from being used in the query. It just sets those fields as empty values. We need a better check here to get around these things that are false-y in JS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions