Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forward @class argument in docs-viewer/x-nav-list component #1488

Merged
merged 1 commit into from
Sep 12, 2023

Conversation

SergeAstapov
Copy link
Collaborator

noticed an issue while was working on ember-cli-mirage.

See https://www.ember-cli-mirage.com/versions/master/docs/api/modules/ember-cli-mirage/serializers/ember-data-serializer for reproduction - note "API Reference" > "ember-cli-mirage" > "Modules" > " serializers" is not indented properly as it should be on the same level as "ember-cli-mirage".

this was missed when docs-viewer/x-nav-list component was converted from @ember/component to @glimmer/component and previously class argument was assigned to the component container element and now just got lost.

the class argument passed in https://github.com/ember-learn/ember-cli-addon-docs/blob/v6.0.1/addon/components/docs-viewer/x-nav/index.hbs#L33

Copy link
Member

@RobbieTheWagner RobbieTheWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahhh, yeah splattributes won't work with the component helper and glimmer components.

@RobbieTheWagner RobbieTheWagner merged commit d9653cc into master Sep 12, 2023
14 checks passed
@RobbieTheWagner RobbieTheWagner deleted the docs-nav-list-indentation branch September 12, 2023 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants