Skip to content
Snippets Groups Projects
Unverified Commit 17f6a095 authored by metabase-bot[bot]'s avatar metabase-bot[bot] Committed by GitHub
Browse files

Fix copy-pasting sql into the action editor (#29034) (#29051)

parent 3bb8c496
No related branches found
No related tags found
No related merge requests found
......@@ -184,9 +184,7 @@ function ActionCreator({
function ensureAceEditorClosed() {
// @ts-expect-error — `ace` isn't typed yet
const editor = window.ace?.edit(ACE_ELEMENT_ID);
if (editor) {
editor.completer.popup.hide();
}
editor?.completer?.popup?.hide();
}
function ActionCreatorWithContext({
......
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