Skip to content

fix(#3854): Hide empty menu slots for Work Side Menu in Angular#3855

Open
bdfranck wants to merge 1 commit intodevfrom
benji/work-side-menu-angular-slot-fix
Open

fix(#3854): Hide empty menu slots for Work Side Menu in Angular#3855
bdfranck wants to merge 1 commit intodevfrom
benji/work-side-menu-angular-slot-fix

Conversation

@bdfranck
Copy link
Copy Markdown
Collaborator

@bdfranck bdfranck commented Apr 21, 2026

This PR fixes a bug in the Angular wrapper which always renders the primary, secondary, and account menus even when they are empty. You can view the change at the following URL:
https://govalta.github.io/ui-components/pr-preview-angular/pr-3855/bugs/3854

Before (the change)

The primary, secondary, and account menus were always rendered in Angular.

After (the change)

The primary, secondary, and account menus are only rendered when you add the corresponding TemplateRef.

@netlify

This comment was marked as outdated.

@bdfranck bdfranck linked an issue Apr 21, 2026 that may be closed by this pull request
@bdfranck bdfranck force-pushed the benji/work-side-menu-angular-slot-fix branch 2 times, most recently from d36c4e3 to 09133a7 Compare April 22, 2026 22:36
@bdfranck bdfranck marked this pull request as ready for review April 28, 2026 16:08
@bdfranck bdfranck force-pushed the benji/work-side-menu-angular-slot-fix branch from 09133a7 to 69205e0 Compare April 29, 2026 17:40
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 29, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://GovAlta.github.io/ui-components/pr-preview-angular/pr-3855/

Built to branch gh-pages at 2026-04-29 17:43 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@github-actions
Copy link
Copy Markdown

Preview links

Target URL
Docs https://govalta.github.io/ui-components/pr-preview/pr-3855/
React playground https://govalta.github.io/ui-components/pr-preview-react/pr-3855/
Angular playground https://govalta.github.io/ui-components/pr-preview-angular/pr-3855/

Built from commit 69205e0. Previews are removed automatically when this PR closes.

Copy link
Copy Markdown
Collaborator

@willcodeforcoffee willcodeforcoffee left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Work Side Menu: Angular always renders Seconadry & Account menus

3 participants