I have a view with the following structure:
Here's the response in close-up:
My requirement is to hide thecontent
field for an empty contextual filter value i.e when we call /sync/newslist
. The content
field should appear when the node id is passed to the endpoint i.e /sync/newslist/1234
(this is the default behaviour).
How do I hide just one field for an empty contextual filter?