0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/ghost
Kevin Ansfield f78f264982
Fixed PromiseObject related errors thrown from members activity list (#15641)
no issue

- the `memberRecord` getter on the members activity controller was
returning the direct result of `store.findRecord()` which in reality is
a `PromiseObject` that is a type of proxy. Although templates handle
this OK, any JS code using the object needs to know that it's not a
typical type of object and has to use `.get()` for all property access
to avoid errors
- switched `memberRecord` from a getter to a resource so we have more
control over the returned object and loading lifecycle
- added a `MemberFetcher` resource class that awaits the result of the
store find and only then sets the value meaning we always have a fully
resolved model object
- being a resource the fetch will only occur when the `member` id
property changes, unlike the getter which performed the fetch every time
it was accessed
2022-10-17 15:28:34 +02:00
..
adapter-manager Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
admin Fixed PromiseObject related errors thrown from members activity list (#15641) 2022-10-17 15:28:34 +02:00
api-framework Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
api-version-compatibility-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
audience-feedback Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00: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 Added conversions count and separate analytics page (#15637) 2022-10-17 13:02:39 +02:00
custom-theme-settings-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00: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 Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00: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
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 Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
link-replacer Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
link-tracking Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
magic-link Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
mailgun-client Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
member-analytics-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00: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 Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
members-csv Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
members-events-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
members-importer Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
members-ssr Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
minifier Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00: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 Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00: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 mocha to v10.1.0 2022-10-17 08:41:28 +00:00
oembed-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
offers Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
package-json Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
payments Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
portal Bumped portal package.json to latest version 2022-10-14 22:15:02 +05:30
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 Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00: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 Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
update-check-service Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00: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