Skip to content

noIndex logic Bug #1291

@PG-20

Description

@PG-20

https://github.com/PrefectHQ/ui/blob/6abdc7f5b88e0237beb9f30a590aa53ec0588d98/src/pages/FlowRun/Restart-Dialog.vue#L73

As far as I know, map_index field of a task is -1 by default unless it is a child mapped task wherein indices are 0-based. So for the absence of index, why is inequality to 0 checked? Should it not be < 0 or == -1?

Metadata

Metadata

Assignees

No one assigned

    Labels

    UI Team - BacklogFilter for UI team looking for tickets

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions