Skip to content

Commit

Permalink
Merge pull request #40 from Kentico/linkitemsfix
Browse files Browse the repository at this point in the history
Typo in Property name
  • Loading branch information
Simply007 authored Jan 3, 2019
2 parents aea58ec + 6cb3d85 commit 6a819b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gatsby-source-kentico-cloud",
"version": "2.1.4-beta",
"version": "2.1.4-beta2",
"description": "Gatsby source plugin for Kentico Cloud",
"main": "./gatsby-node.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/normalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ const addLinkedItemsLinks =
});
}

itemNode.element[linkPropertyName] = sortArrayByAnotherOne(
itemNode.elements[linkPropertyName] = sortArrayByAnotherOne(
itemNode.elements[linkPropertyName],
idsOfOriginalNodes
);
Expand Down

0 comments on commit 6a819b2

Please sign in to comment.