ui icon indicating copy to clipboard operation
ui copied to clipboard

noIndex logic Bug

Open PG-20 opened this issue 2 years ago • 0 comments

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?

PG-20 avatar Jun 16 '22 08:06 PG-20