Currency Ternary Operator Not Working

Hi Everyone,

I am trying to use a ternary operator to set the currency code in my table, however, it is not working as intended.

Screenshot 2024-11-04 at 5.34.51 PM

It's returning an array of three objects which is weird, not really sure what i am doing wrong.

Hey @jeevenugo,

This is a bug. SEe similar topic here. Your ternary operator is correct, and it is returning correct values, so it should be working properly in your table.

@Tess @Darren
Please see above. Maybe we can get this resolved without using a workaround.

Hey @jeevenugo! This seems to just be an issue with the linter - it still functions as you would expect!

I'll let the team know, as these kind of errors can definitely be misleading. :+1:

1 Like