-
Notifications
You must be signed in to change notification settings - Fork 187
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] A toast message with a successful process appeared when removing an agent of a group in Management/Groups
and the agent appears in the agent list after refreshing the table
#4167
Conversation
…p and notify the user Previously the toast appear without awating the response to the Wazuh API request to remove the agent
Management/Groups
and the agent appear in the agent list after refreshing the table
|
TEST OK Screencast.from.27-05-22.16.20.50.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test: ✔️
CR: ✔️
…into fix/4062-remove-agent-from-group-display-agents-list
5dec585
to
729ac90
Compare
Changes
|
729ac90
to
126eb2e
Compare
Management/Groups
and the agent appear in the agent list after refreshing the tableManagement/Groups
and the agent appears in the agent list after refreshing the table
…g an agent of a group in `Management/Groups` and the agent appears in the agent list after refreshing the table (#4167) * fix: Fixed as the managing the process to remove an agent from a group and notify the user Previously the toast appear without awating the response to the Wazuh API request to remove the agent * changelog: Add PR entry * changelog: Move PR entry (cherry picked from commit 6b8fb4b)
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-4.3-1.2-wzd 4.3-1.2-wzd
# Navigate to the new working tree
cd .worktrees/backport-4.3-1.2-wzd
# Create a new branch
git switch --create backport-4167-to-4.3-1.2-wzd
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 6b8fb4b4633f56940cf52bb01f46ae31a55b9037
# Push it to GitHub
git push --set-upstream origin backport-4167-to-4.3-1.2-wzd
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-4.3-1.2-wzd Then, create a pull request where the |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-cloud/4.3-7.10 cloud/4.3-7.10
# Navigate to the new working tree
cd .worktrees/backport-cloud/4.3-7.10
# Create a new branch
git switch --create backport-4167-to-cloud/4.3-7.10
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 6b8fb4b4633f56940cf52bb01f46ae31a55b9037
# Push it to GitHub
git push --set-upstream origin backport-4167-to-cloud/4.3-7.10
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-cloud/4.3-7.10 Then, create a pull request where the |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-cloud/4.3-7.10-custom-agents-view cloud/4.3-7.10-custom-agents-view
# Navigate to the new working tree
cd .worktrees/backport-cloud/4.3-7.10-custom-agents-view
# Create a new branch
git switch --create backport-4167-to-cloud/4.3-7.10-custom-agents-view
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 6b8fb4b4633f56940cf52bb01f46ae31a55b9037
# Push it to GitHub
git push --set-upstream origin backport-4167-to-cloud/4.3-7.10-custom-agents-view
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-cloud/4.3-7.10-custom-agents-view Then, create a pull request where the |
Description
This PR fixes a problem when removing agent from a group in the agent list of
Management/Groups/<Group>/Manage agents
that appears a toast message that the action was successfully but when the table is refreshed, the agent appears in it.Changes
Test
Management/Groups/<Group>/Manage agents
. The toast message should appear after the Wazuh API request is done.Closes #4062