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

Fix incorrect reporting-profile sidebar expansion content #4357

Merged
merged 1 commit into from
Sep 30, 2020

Conversation

scottopherson
Copy link
Contributor

🔩 Description: What code changed, and why?

This commit fixes #4333

The scan results expansion items were not being correctly mapped to the nodes they belong to.

This commit fixes #4333

The scan results expansion items were not being correctly mapped to the nodes they belong to.

Signed-off-by: Scott Christopherson <scott@chef.io>
@scottopherson scottopherson added bug 🐛 Something isn't working ui automate-ui labels Sep 21, 2020
@scottopherson scottopherson requested a review from a team September 21, 2020 16:25
@netlify
Copy link

netlify bot commented Sep 21, 2020

Deploy preview for chef-automate ready!

Built with commit 2b58c5a

https://deploy-preview-4357--chef-automate.netlify.app

Copy link
Contributor

@Shadae Shadae left a comment

Choose a reason for hiding this comment

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

:shipit:

@@ -1,6 +1,10 @@
import { Injectable } from '@angular/core';
import { BehaviorSubject, Observable } from 'rxjs';

interface ControlsByNode {
[nodeId: string]: any;
Copy link
Contributor

Choose a reason for hiding this comment

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

So the controls do not have any definite type? I do see a lot of any values here and below. 🤷

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, this entire area of the code really needs more types.

@susanev susanev merged commit 6d97bdf into master Sep 30, 2020
@susanev susanev deleted the sc/scan-results-expand-bug branch September 30, 2020 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automate-ui bug 🐛 Something isn't working ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

automate scan results only displays one result at a time
5 participants