FriendsOfFlarum / discussion-language

Specify the language a discussion is written in & sort by language
MIT License
6 stars 2 forks source link

Fix admin data loading error #22

Closed davwheat closed 3 years ago

davwheat commented 3 years ago

Changes proposed in this pull request:

The admin page often failed to load the list of locales and countries, due to obscure Webpack chunk loading errors. Toggling the extension doesn't always fix this.

This PR shifts from Webpack code splitting to generating raw JSON assets, and loading these via fetch().

image

Sorry @datitisev :((((

Confirmed