Skip to content

Commit

Permalink
fix(files): provide onDestroy callback for interactive widgets
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
  • Loading branch information
Antreesy committed Mar 16, 2024
1 parent de63cd1 commit 7aec654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/src/reference-files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ registerWidget('file', (el, { richObjectType, richObject, accessible, interactiv
interactive,
},
}).$mount(el)
}, { hasInteractiveView: true })
}, () => {}, { hasInteractiveView: true })

registerCustomPickerElement('files', (el, { providerId, accessible }) => {
const Element = Vue.extend(FileReferencePickerElement)
Expand Down

0 comments on commit 7aec654

Please sign in to comment.