Loading a live JIG makes an extra call to fetch the JIG's draft data
Open
@corinnewo is already working on this.
Since Oct 3, 2022.
bug
needs triage
- Dominant language
- Rust
- Stars
- 14
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
When loading a live JIG, i.e. draft_or_live=live, an extra call is made to fetch the JIG's draft data.
To Reproduce
- Navigate to the Content/Search page;
- Click Play on any JIG with the browser devtools open;
- Observer in the network tab that both live and draft data is fetched.
Expected behavior
No extra call is made.
Additional context
It doesn't appear that the data fetched is being used at all, but I haven't investigated yet.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.