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:
Othello Maurer
2026-01-27 09:50:24 +01:00
committed by GitHub
parent 5d57d75e15
commit cf3c09901f
2 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
type = "fixed"
message = "Fix hidden confirmation prompt when assigning sidecar collector configurations."
issues = ["23253"]
pulls = ["24792"]

View File

@@ -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);
};