Skip to content

Fix Locale preventing project from loading in non-ReduxStore environments - #8

Closed
pid-j wants to merge 1 commit into
ScratchFakemon:Localefrom
pid-j:Locale
Closed

pid-j wants to merge 1 commit into
ScratchFakemon:Localefrom
pid-j:Locale

Conversation

@pid-j

@pid-j pid-j commented Aug 16, 2026

Copy link
Copy Markdown

In the _filterArray function, passing a null value results in the function throwing an error due to not being able to access the map property. This only occurs in non-ReduxStore environments (such as packaged projects).

This isn't the best solution, as the "Language Code <=> Name Conversions" section of the extension is made completely useless, but it's at least better than the project not loading.

@pid-j pid-j changed the title Fix Locale not loading in non-ReduxStore environments Fix Locale preventing project from loading in non-ReduxStore environments Aug 16, 2026
@ScratchFakemon

Copy link
Copy Markdown
Owner

!format

@ScratchFakemon

Copy link
Copy Markdown
Owner

darn, does that not work here

@ScratchFakemon

Copy link
Copy Markdown
Owner

your implementation could be better anyway (it should be if the input isn't an array in general, not just specifically if it's null) but thx anyway

@pid-j

pid-j commented Aug 16, 2026

Copy link
Copy Markdown
Author

your implementation could be better anyway (it should be if the input isn't an array in general, not just specifically if it's null) but thx anyway

i just wanted to do the bare minimum to make it actually launch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants