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