Skip to content

Commit

Permalink
fix(pat select2): fix language identifier for select2 language files
Browse files Browse the repository at this point in the history
  • Loading branch information
1letter committed Feb 14, 2025
1 parent 80e3b98 commit 4392ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pat/select2/select2.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export default Base.extend({
if (lang.split("-").length > 1) {
lang =
lang.split("-")[0] +
"_" +
"-" +
lang.split("-")[1].toUpperCase();
}
await import(`select2/select2_locale_${lang}`);
Expand Down

0 comments on commit 4392ed5

Please sign in to comment.