Ghost/ghost/admin/mirage/config
Kevin Ansfield 27e771b3a8
🐛 Fixed Admin search sometimes stalling on first query (#20143)
closes https://linear.app/tryghost/issue/MOM-103

- the `yield waitForProperty(...)` call that was supposed to return once the content refresh occurred never reached a valid state so the first search query (or any later query) where a content refresh occurred would never resolve causing search to look like it had stalled
- switched to waiting for the last running task to resolve instead which does the same as the previous code intended
- exported the `getPosts` request handler function so in mirage config so we can re-use it with different timing on a per-case basis
2024-05-06 21:04:13 +00:00
..
api-keys.js
authentication.js
config.js
custom-theme-settings.js
email-preview.js
emails.js
integrations.js
invites.js
labels.js
members.js
mentions.js
newsletters.js
offers.js
pages.js
posts.js 🐛 Fixed Admin search sometimes stalling on first query (#20143) 2024-05-06 21:04:13 +00:00
roles.js
settings.js
site.js
slugs.js
snippets.js
stats.js
tags.js
themes.js
tiers.js
uploads.js
users.js
webhooks.js