fix(clipboard): report image fetch attempts accurately

Co-authored-by: Joseph Cumines <joeycumines@gmail.com>
This commit is contained in:
Danila Poyarkov 2026-08-13 18:40:59 +03:00
parent 15d3d8bf10
commit 15ea98d8fb

View file

@ -206,7 +206,7 @@ export function createClipboardActions(ctx: EditorContext) {
ctx.emitEditorEvent('clipboard:images-missing', {
total: hashes.length,
missing,
fetchAttempted: resolver !== null
fetchAttempted: Boolean(resolver)
})
}
}