Observed behavior
Sometimes after publishing a channel I can see an incorrect number of resources displayed under some of the folders in the editor.
This one is not always reproducible but it has already happened several times to me today so I am reporting it.
Expected behavior
Always show the correct number of resources
Steps to reproduce the issue
- Go to https://unstable.studio.learningequality.org/en/accounts/#/ and sign in
- Create a brand new channel add some folders and upload several files in each folder
- Publish the channel
- Go back to My channels
- Click on the same channel and pay attention to the displayed number of resources - in this case it is 4
- Notice that for each folder we see only 1 resource
- Clicking on FOLDER 2 reveals that there are 3 resources
Note that if I sign out and sign in again I'm no longer able to replicate the issue.
Additional information
Video:
https://user-images.githubusercontent.com/79847249/183961512-f0a25d13-73ad-4b39-aa29-06bd4e0ce605.mp4
Screenshot:

Usage Details