Skip to content

Commit

Permalink
Merge pull request #53 from unshapedesign/hotfix/label-in-places
Browse files Browse the repository at this point in the history
Fixed a typo in the places data source which leads to wrong places la…
  • Loading branch information
dpfaffenbauer authored Nov 19, 2020
2 parents f588975 + 13b1d05 commit 4072308
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ pimcore.plugin.workflow.item = Class.create({
places = Object.keys(places).map(function (objectKey, index) {
var place = places[objectKey];
place['id'] = objectKey;
place['label'] = (place.label && place.label.lenght > 0)
place['label'] = (place.label && place.label.length > 0)
? t(place.label)
: objectKey;

Expand Down

0 comments on commit 4072308

Please sign in to comment.