Skip to content

Commit

Permalink
Manage locale set in manager
Browse files Browse the repository at this point in the history
  • Loading branch information
maximehuran committed Oct 8, 2024
1 parent ef5d4ab commit 6124e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/views/Admin/app.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
editors.forEach(function (editor) {
let tags = editor.dataset.tags.length === 0 ? [] : editor.dataset.tags.split(',')
let locale = editor.dataset.locale; // @TODO add fallback locale on the twig parameter locale ?
let locale = editor.dataset.locale | default(app.request.locale) | default(app.request.defaultLocale) | default(sylius_base_locale);
setupRichEditor(editor, tags, locale);
});
Expand Down

0 comments on commit 6124e01

Please sign in to comment.