I made Order history screen , in that I wanted to show all the orders a user placed. I have grouped the orders by date and made a custom action action that if down arrow is clicked the nested list appears which has all the orders that were placed on that particular day.
Now the problem is that if I have 2 orders on a particular date, instead of just showing one date tab its showing 2 tabs containing same data(shown in ss).
So basically if a date has "nā orders it will just duplicate the date tabs ānā times .
I cannot find a way to filter the main list in such a way that a date tab appears only one time no matter how many orders a date has.
Please help