Show alternative value if cell is empty

I'm trying to show the product image is if the variant image doesn't exist.
Using this mapped value on the image column doesn't load the product image even though the value is found.
{{ self === '' ? 'currentRow.product_image' : currentRow.src }}

Any tips?
Thanks!

@jason3w
I don't see product_image as a column in the table.
Additionally, self and currentRow.src are one and the same....
Also, simply adding the image URL in the src column should suffice.

I had the column hidden. But it is the src URL for an image too.

I fixed it actually. Should have been
{{ self === null ? currentRow.product_image : currentRow.src }}
and as you mentioned
{{ self === null ? currentRow.product_image : self }}
works too. :slight_smile:
Cheers!