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

Alert objects does not show in the table #4723

Open
htdangkhoa opened this issue Feb 16, 2025 · 2 comments · May be fixed by #4724
Open

Alert objects does not show in the table #4723

htdangkhoa opened this issue Feb 16, 2025 · 2 comments · May be fixed by #4724
Labels
bug Something isn't working

Comments

@htdangkhoa
Copy link

Describe the bug

I configured 2 alerts, but the table show No data

Environment

  • Weave-Gitops Version: 0.38.0
  • Flux Version: 2.4.0
  • Kubernetes version: 1.31.0

To Reproduce
Steps to reproduce the behavior:

  1. Go to the Notifications page
  2. Click on the Provider item
  3. The table show No data for the alerts

Expected behavior

The table should show 2 alerts

Actual Behavior

The table show No data

Additional Context (screenshots, logs, etc)

Image Image
@htdangkhoa htdangkhoa added the bug Something isn't working label Feb 16, 2025
@htdangkhoa htdangkhoa linked a pull request Feb 16, 2025 that will close this issue
@erikgb
Copy link
Contributor

erikgb commented Feb 16, 2025

@htdangkhoa Are you able to check if the behavior is the same with our latest RC? https://github.com/weaveworks/weave-gitops/releases/tag/0.39.0-rc.1

@htdangkhoa
Copy link
Author

htdangkhoa commented Feb 16, 2025

hi @erikgb, I already checked the latest RC, the behavior is the same

original:

const { data, error } = useListAlerts(provider.provider, provider.namespace);

Ref: https://github.com/weaveworks/weave-gitops/blob/462c84af2a8564e9548c2e89e7f5a868120822e3/ui/components/ProviderDetail.tsx#L19C3-L19C80

my changes

const { data, error } = useListAlerts(provider.name, provider.namespace);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants