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

Audit log suspend #64

Merged
merged 13 commits into from
Dec 14, 2023
Merged

Audit log suspend #64

merged 13 commits into from
Dec 14, 2023

Conversation

AlinaGoaga
Copy link
Contributor

@AlinaGoaga AlinaGoaga commented Dec 6, 2023

Closes 3545

@AlinaGoaga AlinaGoaga changed the title Audit log suspend - WIP Audit log suspend Dec 11, 2023
@AlinaGoaga AlinaGoaga marked this pull request as ready for review December 11, 2023 12:32
@AlinaGoaga AlinaGoaga requested a review from foot December 13, 2023 17:01

const [{ loading }, toggleSuspend] = useAsyncFn(
() => toggleSuspendResource(resource, kubernetesApi, alertApi, suspend),
() =>
toggleSuspendResource(resource, kubernetesApi, alertApi, suspend, user),
[resource, kubernetesApi, alert],
Copy link
Collaborator

Choose a reason for hiding this comment

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

We might need to add user to the dep list, I noticed I still get "guest" sometimes. 😕

I'm not sure why eslint is not detecting this dep list.

Copy link
Collaborator

@foot foot left a comment

Choose a reason for hiding this comment

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

🎉 !

@AlinaGoaga AlinaGoaga merged commit 76cf783 into main Dec 14, 2023
1 check passed
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