Skip to content

Commit

Permalink
#23 Fixed
Browse files Browse the repository at this point in the history
(cherry picked from commit adb145a)
  • Loading branch information
markusobviuse committed Aug 9, 2023
1 parent 7735828 commit 540a4b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ angular.module("umbraco")

if (currentNode && currentNode.variants) {

if (culture) {
if (culture && currentNode.variants.length > 1) {
var variantForCulture = currentNode.variants.filter(x => x.language.culture == culture).shift();
title = variantForCulture.name;
}
Expand Down

0 comments on commit 540a4b8

Please sign in to comment.