Link-to helper to reset query param(s) to null?

For something similar, I added a controller property such as

defaultCategory: null

and then in the link-to helper used

(query-params category=defaultCategory)

I’d love for a simpler way to reset a query param though.

3 Likes