Skip to content

fix: product tabs now display correctly on second click #20166

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

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from

Conversation

npapp-dev002
Copy link
Contributor

CXSPA-9586

Fixed an issue where opening a product second time from home page did not display its tabs.

@npapp-dev002 npapp-dev002 requested a review from a team as a code owner April 10, 2025 08:28
@github-actions github-actions bot marked this pull request as draft April 10, 2025 08:29
@npapp-dev002 npapp-dev002 marked this pull request as ready for review April 14, 2025 08:05
Copy link

cypress bot commented Apr 14, 2025

spartacus    Run #47681

Run Properties:  status check passed Passed #47681  •  git commit 2eb74373f3 ℹ️: Merge 2ec5e6c154f5902d578dea265a603d43520b3bdb into a8fb7868932faee9fb8af7c33640...
Project spartacus
Branch Review fix/CXSPA-9586
Run status status check passed Passed #47681
Run duration 04m 23s
Commit git commit 2eb74373f3 ℹ️: Merge 2ec5e6c154f5902d578dea265a603d43520b3bdb into a8fb7868932faee9fb8af7c33640...
Committer Norbert Papp
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 3
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 102
View all changes introduced in this branch ↗︎

@@ -80,7 +81,8 @@ export class TabParagraphContainerComponent implements AfterViewInit, OnInit {
constructor(
public componentData: CmsComponentData<CMSTabParagraphContainer>,
protected cmsService: CmsService,
protected winRef: WindowRef
protected winRef: WindowRef,
protected cdr: ChangeDetectorRef
Copy link
Contributor

Choose a reason for hiding this comment

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

major: For DI, let's use the inject function instead of a constructor to avoid introducing unnecessary breaking changes. See: https://wiki.one.int.sap/wiki/display/spar/Coding+Guidelines#CodingGuidelines-Useinject()functioninsteadofconstructorforDependencyInjection

@github-actions github-actions bot marked this pull request as draft April 15, 2025 13:16
@npapp-dev002 npapp-dev002 marked this pull request as ready for review April 15, 2025 16:16
@npapp-dev002 npapp-dev002 requested a review from rmch91 April 15, 2025 17:45
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.

2 participants