Skip to content

Commit

Permalink
Fix[4082] Merged doc redirect to bad url
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrunet-carbon committed Dec 20, 2024
1 parent 5ef9226 commit d9029ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/document/utils/document-view-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export default {
},

lang() {
return this.document?.cooked?.lang;
return this.document?.cooked?.lang ?? this.$language.current;
},
},

Expand Down

0 comments on commit d9029ee

Please sign in to comment.