Conditional filtering of first row in a table

Hi everyone,

I’d like to filter out the first row of a table if, and only if, the table contains more than one row.
Can someone help?

The use case is that I want the first row to say: “Nothing in your cart” if the user hasn’t added anything yet. Of course, once they added at least one real item (=real row) I’d like the ‘placeholder’ to disappear/get filtered and the real item added.

I think it should be easy but I’m just not finding the right answer…Thanks!

@Gergely_Koles

Here’s one possible approach:

3 Likes