Need to replace value for query output

Howdy team! Quick question. I have a query that returns either of 2 values: “incoming” or “outgoing”. I use this {{currentItem.direction === “incoming”}} to determine “true” or false", but I want to replace true or false to update the alignment of text to display “left” or “right”. How can I do this?

@itpastor Not entirely sure if you are looking for this. But can you try the below snippet
{{currentItem.direction === “incoming” ? 'LEFT' : 'RIGHT'}} based on how you want to align

1 Like

This solution was perfect Dancia!
Thank you!