You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like SortableLink doesn't have any knowledge of the result set it's sorting, which I suppose makes sense.
The simplest approach would be to add a new parameter, and make it the responsibility of the caller to determine whether the SortableLink should render. I don't love this though. Can you think of a more elegant approach?
If the collection doesn't contain any entries, it would be nice if
sortableLink()
only displayed the title, and didn't render a link.Happy to submit a pull request if you can provide some direction. My code has a bunch of ugly conditionals right now.
The text was updated successfully, but these errors were encountered: