Ghost/ghost
Simon Backx 1a8f7e6972 Fixed labs not working on posts page initial load
no issue

When reloading the posts page, the labs settings wouldn't work. The 'feature' service labs property would try to JSON.parse an undefined labs setting (settings.labs === undefined) because settings wasn't loaded yet. After loading the settings, it wouldn't update because Ember's 'computed' decorator isn't able to watch this.

This was all caused by trying to access the emailAnalytics feature in the controller's constructor (this feature doesn't exist any longer). Removing this fixed the issue.

We probably need some protection for this in the future.
2022-10-26 16:03:02 +02:00
..
adapter-manager Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
admin Fixed labs not working on posts page initial load 2022-10-26 16:03:02 +02:00
api-framework Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
api-version-compatibility-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
audience-feedback Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
bootstrap-socket Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
constants Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
core Updated the copy for the audience feedback in preview and email based on feedback 2022-10-26 12:17:07 +01:00
custom-theme-settings-service Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
domain-events Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
email-analytics-provider-mailgun Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
email-analytics-service Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
email-content-generator Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
express-dynamic-redirects Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
extract-api-key Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
html-to-plaintext Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
job-manager Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
link-redirects Added edited property to links api 2022-10-20 18:17:44 +05:30
link-replacer Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
link-tracking Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
magic-link Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
mailgun-client Update dependency mailgun.js to v8.0.2 2022-10-25 20:20:41 +00:00
member-analytics-service Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
member-attribution Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
member-events Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
members-analytics-ingress Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
members-api Wired up the payment service to create stripe checkout sessions 2022-10-25 09:03:04 +07:00
members-csv Restricted members importer to ignore "products" column 2022-10-24 18:06:02 +08:00
members-events-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
members-importer Migrated members importer to use tiers 2022-10-26 14:26:21 +08:00
members-ssr Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
minifier Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
mw-api-version-mismatch Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mw-cache-control Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mw-error-handler Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
mw-session-from-token Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mw-update-user-last-seen Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mw-vhost Update dependency supertest to v6.3.1 2022-10-26 02:54:43 +00:00
oembed-service Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
offers Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
package-json Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
payments Wired up Payments service to new Tiers package 2022-10-25 09:02:41 +07:00
portal Cleaned up FeedbackPage 2022-10-26 14:26:57 +02:00
referrers Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
security Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
session-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
settings-path-manager Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
staff-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
stats-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
stripe Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
tiers Migrated members importer to use tiers 2022-10-26 14:26:21 +08:00
update-check-service Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
verification-trigger Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
version-notifications-data-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00