d5077ac1bf
refs https://linear.app/tryghost/issue/ENG-599 - member count is based on the cache which only updates ~every minute - forced cache clear on manual member add/delete (not import) - tests were failing based on the assumption that a new site that adds a member has a nonzero member count, although the cache did not reflect this quickly enough for the test to pass Previously on a new site if you tried to publish a newsletter, it would require at least one member. If you quickly added a member and tried to send a newsletter, it would stop you saying you need at least one member, requiring a browser refresh. This was a bug that is resolved with this changes, as well as odd behaviour to try to write tests around. |
||
---|---|---|
.. | ||
lexical-editor | ||
members | ||
posts | ||
setup | ||
application.js | ||
billing.js | ||
collection.js | ||
collections.js | ||
dashboard.js | ||
demo-x.js | ||
designsandbox.js | ||
error.js | ||
explore.js | ||
home.js | ||
lexical-editor.js | ||
member.js | ||
members-activity.js | ||
members.js | ||
mentions.js | ||
migrate.js | ||
offer.js | ||
offers.js | ||
pages-loading.js | ||
pages.js | ||
posts-loading.js | ||
posts.js | ||
reset.js | ||
settings-x.js | ||
setup.js | ||
signin.js | ||
signup.js | ||
site.js | ||
tag.js | ||
tags.js | ||
websockets.js | ||
whatsnew.js |