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

[pipelines-plugin]: First available ACS sub tab should be active #18

Closed
karthikjeeyar opened this issue Feb 12, 2024 · 0 comments
Closed
Assignees

Comments

@karthikjeeyar
Copy link
Collaborator

Description:

ACS section should activate the first available subtab when it is opened. It is now only opening the Image Scan tab based on the availability of the data.

How to reproduce:

Do not pass the acsImageScan data to the output component.

<Output
      enterpriseContractPolicies={mockEnterpriseContractUIData ?? []}
      acsImageCheckResults={acsImageCheckResults}
      acsDeploymentCheckResults={acsDeploymentCheckResults}
      results={pipelineRun?.status?.results
      pipelineRunName={pipelineRun?.metadata?.name}
      pipelineRunStatus={'Succeeded'}
    />

Actual Result:

image

Expected Result:

image

@karthikjeeyar karthikjeeyar self-assigned this Feb 12, 2024
@karthikjeeyar karthikjeeyar changed the title [pipelines-plugin]: First available ACS subtask should be active [pipelines-plugin]: First available ACS sub tab should be active Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant