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.

Signed-off-by: Roland Asmann <[email protected]>
  • Loading branch information
malice00 committed Sep 16, 2024
1 parent 8a4ec58 commit 6c02e55
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 6c02e55

Please sign in to comment.