mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-10 08:07:03 +00:00
fix(raw_apps): clear inspector overlay on the preview iframe, not the source
This commit is contained in:
@@ -1099,7 +1099,8 @@
|
||||
|
||||
function clearInspectorSelection() {
|
||||
inspectorElement = undefined
|
||||
iframe?.contentWindow?.postMessage({ type: 'inspectorClear' }, '*')
|
||||
// Inspector lives in the preview iframe, so clear its overlay there.
|
||||
previewIframe?.contentWindow?.postMessage({ type: 'inspectorClear' }, '*')
|
||||
}
|
||||
|
||||
function handleSelectFile(path: string) {
|
||||
|
||||
Reference in New Issue
Block a user