Skip to content

Commit

Permalink
Handling sub-components of the root component the same as all other c…
Browse files Browse the repository at this point in the history
…omponents (#1371)

Handling sub-components of the root component the same as all other components.

Signed-off-by: Roland Asmann <[email protected]>
  • Loading branch information
malice00 authored Sep 17, 2024
1 parent 8f98600 commit 15b3fdc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,11 @@ function addMetadata(parentComponent = {}, options = {}, context = {}) {
}
}
if (parentComponent?.components) {
parentComponent.components = listComponents(
options,
{},
parentComponent.components,
);
const parentFullName = componentToSimpleFullName(parentComponent);
const subComponents = [];
const addedSubComponents = {};
Expand Down

0 comments on commit 15b3fdc

Please sign in to comment.