Showing
2 changed files
with
3 additions
and
0 deletions
No preview for this file type
... | @@ -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 | ... | ... |
-
Please register or login to post a comment