(key)
| 865 | } |
| 866 | |
| 867 | setSeenPromotion (key) { |
| 868 | const seenPromotions = this.get('seenPromotions') || {} |
| 869 | Object.assign(seenPromotions, { [key]: new Date() }) |
| 870 | this.set('seenPromotions', seenPromotions) |
| 871 | } |
| 872 | |
| 873 | activeProducts (type) { |
| 874 | const now = new Date() |