Showing
2 changed files
with
3 additions
and
3 deletions
No preview for this file type
... | @@ -44,7 +44,7 @@ import SwiftEventBus | ... | @@ -44,7 +44,7 @@ import SwiftEventBus |
44 | 44 | ||
45 | self.seasonalList = swiftApi().getSeasonalList() | 45 | self.seasonalList = swiftApi().getSeasonalList() |
46 | 46 | ||
47 | - if (seasonalList.count > 0) { | 47 | + if (self.seasonalList.count > 0) { |
48 | for seasonalItem in self.seasonalList { | 48 | for seasonalItem in self.seasonalList { |
49 | let newCampaign = swiftApi.CampaignItemModel() | 49 | let newCampaign = swiftApi.CampaignItemModel() |
50 | newCampaign._title = seasonalItem._title | 50 | newCampaign._title = seasonalItem._title |
... | @@ -62,7 +62,7 @@ import SwiftEventBus | ... | @@ -62,7 +62,7 @@ import SwiftEventBus |
62 | 62 | ||
63 | self.seasonalList = swiftApi().getSeasonalList() | 63 | self.seasonalList = swiftApi().getSeasonalList() |
64 | 64 | ||
65 | - if (seasonalList.count > 0) { | 65 | + if (self.seasonalList.count > 0) { |
66 | for seasonalItem in self.seasonalList { | 66 | for seasonalItem in self.seasonalList { |
67 | let newCampaign = swiftApi.CampaignItemModel() | 67 | let newCampaign = swiftApi.CampaignItemModel() |
68 | newCampaign._title = seasonalItem._title | 68 | newCampaign._title = seasonalItem._title |
... | @@ -79,7 +79,7 @@ import SwiftEventBus | ... | @@ -79,7 +79,7 @@ import SwiftEventBus |
79 | 79 | ||
80 | self.seasonalList = swiftApi().getSeasonalList() | 80 | self.seasonalList = swiftApi().getSeasonalList() |
81 | 81 | ||
82 | - if (seasonalList.count > 0) { | 82 | + if (self.seasonalList.count > 0) { |
83 | for seasonalItem in self.seasonalList { | 83 | for seasonalItem in self.seasonalList { |
84 | let newCampaign = swiftApi.CampaignItemModel() | 84 | let newCampaign = swiftApi.CampaignItemModel() |
85 | newCampaign._title = seasonalItem._title | 85 | newCampaign._title = seasonalItem._title | ... | ... |
-
Please register or login to post a comment