Skip to content
Snippets Groups Projects
Unverified Commit 45d8be7e authored by Raphael Krut-Landau's avatar Raphael Krut-Landau Committed by GitHub
Browse files

fix(dashboard): In dashboard value source modal, after closing question picker...

fix(dashboard): In dashboard value source modal, after closing question picker modal, don't also close the first modal (#47242)
parent af6d6e7f
No related branches found
No related tags found
No related merge requests found
......@@ -82,6 +82,7 @@ const SelectButton = forwardRef(function SelectButton(
hasValue={hasValue}
highlighted={highlighted}
onClick={rightIcon === "close" ? handleClear : undefined}
style={{ flexShrink: 0 }}
/>
</SelectButtonRoot>
);
......
......@@ -63,7 +63,7 @@ const ValuesSourceModal = ({
sourceConfig={sourceConfig}
onChangeSourceConfig={setSourceConfig}
onSubmit={handlePickerClose}
onClose={onClose}
onClose={handlePickerClose}
/>
);
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment