Ghost/ghost/admin/app/services
Simon Backx 28e4eb60ae
🐛 Fixed offer links with an archived tier (#15792)
refs https://github.com/TryGhost/Team/issues/2233

**Problem**
When a user clicks an offer link that has an archived tier, the site
blocks and you are no longer able to scroll. This is because the product
for that offer can't be found. This has been fixed by updating the
`isActiveOffer` helper to also check for the existence of the
corresponding tier.

**Solution**
- You no longer are able to create new offers if there are no active
tiers
- A custom message is shown that instructs the user to create a new tier
if there are not active tiers on the offers page
- Improved detection of changes in tiers by correctly reloading the
members utils service after tier changes
- Portal redirects to the homepage for offers with an archived tier
(same behaviour as invalid offers)
- Offers of an archived tier are no longer visible in the dashboard
2022-11-11 10:11:34 +01:00
..
ajax.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
billing.js Updated <GHBillingIframe> to not leak event listeners 2022-11-07 11:59:14 +00:00
clock.js Dropped ember-cli-moment-shim dependency 2022-09-24 13:28:23 +02:00
config-manager.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
custom-theme-settings.js
custom-views.js Removed need for .get() with settings service 2022-10-07 16:14:57 +01:00
dashboard-mocks.js Refined attribution source modal on dashboard 2022-10-07 15:43:59 +05:30
dashboard-stats.js Removed need for .get() with settings service 2022-10-07 16:14:57 +01:00
data-cache.js
dropdown.js
event-bus.js
explore.js Fixed Explore iframe route handling hijacking routes on reload 2022-10-26 17:17:22 +01:00
feature.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
frontend.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
ghost-paths.js
lazy-loader.js
limit.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
media-queries.js
member-import-validator.js Added auto-mapping for complimentary_plan column 2022-10-31 16:47:14 +08:00
members-count-cache.js Dropped ember-cli-moment-shim dependency 2022-09-24 13:28:23 +02:00
members-stats.js Merged v5.16.1 into main 2022-09-27 11:21:48 +07:00
members-utils.js 🐛 Fixed offer links with an archived tier (#15792) 2022-11-11 10:11:34 +01:00
modals.js Fixed modalOptions.ignoreBackdropClick not always being picked up 2022-07-13 16:02:34 +01:00
navigation.js Removed need for .get() with settings service 2022-10-07 16:14:57 +01:00
notifications.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
resize-detector.js
session.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
settings.js 🐛 Fixed comped subscription duration drop-down sometimes not being visible (#15764) 2022-11-03 10:08:48 +00:00
slug-generator.js 🐛 Fixed pasting newlines in post titles (#15794) 2022-11-10 14:43:15 +01:00
tenor.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
theme-management.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
ui.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
unsplash.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
upgrade-status.js
utils.js Fixed ref instead of rel when stripping querystring from tracked url 2022-09-28 11:03:00 +02:00
whats-new.js Dropped ember-cli-moment-shim dependency 2022-09-24 13:28:23 +02:00