decaporg / decap-cms

A Git-based CMS for Static Site Generators
https://decapcms.org
MIT License
17.65k stars 3.02k forks source link

typo fix #7134

Closed hip3r closed 3 months ago

hip3r commented 3 months ago

Summary

/pull/7131 typo fix. When renaming variables I missed one. Code works in both cases, because it's checking if undefined variable is not truthy and because there are additional conditions when refreshing codemirror instance. But it's unnecessarily trying to refresh instance even if parent list is still collapsed

Test plan

see PR for more info

Checklist

Please add a x inside each checkbox:

A picture of a cute animal (not mandatory but encouraged)