Manos Chorianopoulos

fix hide empty category

...@@ -142,7 +142,10 @@ import SwiftEventBus ...@@ -142,7 +142,10 @@ import SwiftEventBus
142 category.items.append(newCampaign) 142 category.items.append(newCampaign)
143 } 143 }
144 } 144 }
145 - newData.append(category) 145 +
146 + if (category.items.count > 0) {
147 + newData.append(category)
148 + }
146 } 149 }
147 150
148 // self.campaigns = tempCampaigns 151 // self.campaigns = tempCampaigns
......