Skip to content

Commit

Permalink
Fix incorrect references to content
Browse files Browse the repository at this point in the history
  • Loading branch information
sfnelson committed Dec 15, 2023
1 parent b27e212 commit 10d1767
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div class="content--editor--new-items" role="listbox">
<div class="navigation--editor--new-items" role="listbox">
<%= render Katalyst::Navigation::Editor::NewItemComponent.with_collection(items) %>
</div>
1 change: 0 additions & 1 deletion app/javascript/navigation/editor/item.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,6 @@ function createChildrenList(node) {
const childrenList = document.createElement("ol");
childrenList.setAttribute("class", "hidden");

// if objectType is "rich-content" set richContentChildren as a data attribute
childrenList.dataset[`navigationChildren`] = "";

node.appendChild(childrenList);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"main": "app/assets/builds/katalyst/content.js",
"main": "app/assets/builds/katalyst/navigation.js",
"scripts": {
"build": "yarn exec rollup -- -c",
"clean": "rm -rf app/assets/builds/*"
Expand Down

0 comments on commit 10d1767

Please sign in to comment.