Manos Chorianopoulos

fix hide empty category

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