decap-cms icon indicating copy to clipboard operation
decap-cms copied to clipboard

fix(7281): remove the string "DRAFT_MEDIA_FILES"

Open bitgroestl opened this issue 9 months ago • 1 comments

Summary

This fixes #7281.

I simply removed the string DRAFT_MEDIA_FILES from the return value of selectMediaFolder and the issue disappeared. I have no idea why this string existed in the first place, but i highly advise that someone with more insight takes a look at this PR in case it breaks anything.

Test plan

I updated the corresponding test to reflect how i think this should work. npm run test doesn't show any failures.

Checklist

Please add a x inside each checkbox:

bitgroestl avatar Mar 21 '25 15:03 bitgroestl

This is currently blocking me. Would love to see it merged. 🙏🏻

janw avatar May 26 '25 21:05 janw

This is a blocker for me as well currently. Would love to see it merged!

HFulcher avatar Aug 14 '25 17:08 HFulcher