Skip to content

Commit

Permalink
(fix): set changelog pages to non empty
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinghvi committed Feb 28, 2024
1 parent 4f16a0c commit b692a0f
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,12 @@ async function convertNavigationConfig({
})
)
);
pages = untabbedItems.reduce((pages, untabbedItem) => ({ ...pages, ...untabbedItem.pages }), {});
for (const untabbedItem of untabbedItems) {
pages = {
...pages,
...untabbedItem.pages
};
}
config = {
items: untabbedItems.map((item) => item.item)
};
Expand Down Expand Up @@ -457,7 +462,7 @@ async function convertNavigationConfig({
}
return {
config,
pages: {}
pages
};
}

Expand Down Expand Up @@ -571,7 +576,7 @@ async function convertUnversionedNavigationConfig({
}
return {
config,
pages: {}
pages
};
}

Expand Down

0 comments on commit b692a0f

Please sign in to comment.