Skip to content

Commit

Permalink
fix: show correct details panel io
Browse files Browse the repository at this point in the history
Signed-off-by: Carina Ursu <[email protected]>
  • Loading branch information
ursucarina committed Oct 11, 2023
1 parent f9ec9b9 commit ca3c48b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/console/src/components/Literals/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ function processCollection(
return 'invalid collection';
}

if (!isNaN(mapTaskIndex!)) {
if (mapTaskIndex !== undefined && !isNaN(mapTaskIndex)) {
literals = (literals || []).splice(mapTaskIndex!, 1);
}

Expand Down

0 comments on commit ca3c48b

Please sign in to comment.