mirror of
https://github.com/Graylog2/graylog2-server.git
synced 2026-03-13 09:32:21 +08:00
Fix hidden sidecar config confirmation prompt (#24792)
* Fix hidden sidecar config confirmation prompt * add changelog * Close config modal on confirm instead of stacking
This commit is contained in:
5
changelog/unreleased/issue-23253.toml
Normal file
5
changelog/unreleased/issue-23253.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
type = "fixed"
|
||||
message = "Fix hidden confirmation prompt when assigning sidecar collector configurations."
|
||||
|
||||
issues = ["23253"]
|
||||
pulls = ["24792"]
|
||||
@@ -104,6 +104,8 @@ const CollectorConfigurationModalContainer = ({
|
||||
const onSave = (fullyAssignedConfigs: string[], partiallyAssignedConfigs: string[]) => {
|
||||
setNextAssignedConfigurations(fullyAssignedConfigs);
|
||||
setNextPartiallyAssignedConfigurations(partiallyAssignedConfigs);
|
||||
// Close config modal before showing confirmation to avoid stacking
|
||||
onCancel();
|
||||
setShowConfirmModal(true);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user