Skip to content

Commit

Permalink
Add comment toe templateMapper
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Nov 12, 2019
1 parent e58db8a commit fc66f29
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ public function map(

$localizedContentDimension->setTemplateKey($template);
$localizedContentDimension->setTemplateData($localizedData);
} else {
}

if (!$localizedContentDimension) {
// Only set templateKey to unlocalizedDimension when no localizedDimension exist
$contentDimension->setTemplateKey($template);
}

Expand Down

0 comments on commit fc66f29

Please sign in to comment.