Test for empty query param

Under App Structure, how to check for an empty query param? I tried "" for the Value.

<a role="button" class="btn btn-outline-primary btn-sm" href="members/" dmx-class:active="query.c == &quot;\&quot;\&quot;&quot;">All</a>

Try:
<a role=“button” class=“btn btn-outline-primary btn-sm” href=“members/” dmx-class:active="!query.c">All</a>

1 Like