error when conditionally showing a spatie image table column

My code
Was this page helpful?