Skip to content

Commit

Permalink
Panel fields: fix direction for content lanuage
Browse files Browse the repository at this point in the history
Fixes #6350
  • Loading branch information
distantnative committed Mar 23, 2024
1 parent 202387f commit e637c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/src/config/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default {
app.directive("direction", {
inserted(el, binding, vnode) {
if (vnode.context.disabled !== true) {
el.dir = window.panel.translation.direction;
el.dir = window.panel.language.direction;
} else {
el.dir = null;
}
Expand Down

0 comments on commit e637c38

Please sign in to comment.