fix(clipboard): report image fetch attempts accurately
Co-authored-by: Joseph Cumines <joeycumines@gmail.com>
This commit is contained in:
parent
15d3d8bf10
commit
15ea98d8fb
|
|
@ -206,7 +206,7 @@ export function createClipboardActions(ctx: EditorContext) {
|
|||
ctx.emitEditorEvent('clipboard:images-missing', {
|
||||
total: hashes.length,
|
||||
missing,
|
||||
fetchAttempted: resolver !== null
|
||||
fetchAttempted: Boolean(resolver)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue