(e)
| 2397 | } |
| 2398 | |
| 2399 | onClickPremiumButton (e) { |
| 2400 | const trackProperties = { category: 'Subscription', label: 'campaignview premium button' } |
| 2401 | if (me.isParentHome()) { |
| 2402 | this.handleParentAccountPremiumPurchase({ trackProperties }) |
| 2403 | } else { |
| 2404 | this.openModalView(new SubscribeModal()) |
| 2405 | window.tracker?.trackEvent('Show subscription modal', trackProperties) |
| 2406 | } |
| 2407 | } |
| 2408 | |
| 2409 | handleParentAccountPremiumPurchase ({ trackProperties }) { |
| 2410 | const showModalAndTrack = () => { |
nothing calls this directly
no test coverage detected