diff options
author | Maksim Sukharev <antreesy.web@gmail.com> | 2024-03-16 07:09:55 +0100 |
---|---|---|
committer | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2024-03-16 06:18:44 +0000 |
commit | 0af93c8f79e372ee6d80a09c39941836049e4421 (patch) | |
tree | f841e08c0619ed4b16953b826d4792f870ccc12f /apps/files/src/reference-files.ts | |
parent | de63cd1569d56e9f417c8ef8dc8d2e7779bf73e6 (diff) | |
download | nextcloud-server-0af93c8f79e372ee6d80a09c39941836049e4421.tar.gz nextcloud-server-0af93c8f79e372ee6d80a09c39941836049e4421.zip |
fix(files): provide onDestroy callback for interactive widgets
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Diffstat (limited to 'apps/files/src/reference-files.ts')
-rw-r--r-- | apps/files/src/reference-files.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/src/reference-files.ts b/apps/files/src/reference-files.ts index 555a4163aad..28054f41c1e 100644 --- a/apps/files/src/reference-files.ts +++ b/apps/files/src/reference-files.ts @@ -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) |