]> source.dussan.org Git - nextcloud-server.git/commit
fix(files): Only execute default action if there is an action to perform 45662/head
authorFerdinand Thiessen <opensource@fthiessen.de>
Thu, 30 May 2024 16:44:02 +0000 (18:44 +0200)
committerskjnldsv <skjnldsv@protonmail.com>
Fri, 7 Jun 2024 10:06:37 +0000 (12:06 +0200)
commitace4b50819a7be54de66bcfa5bda926f11123bb0
tree7a59a368122ad70436326539307dc046bdf77526
parenta0ede5744be257ec52f1bfe36a3405e818c9a8f2
fix(files): Only execute default action if there is an action to perform

Some files do not have a default action (can not be viewed and only downloaded).
If the `openfile` query is set on them the `handleOpenFile` will throw an error.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
apps/files/src/components/FilesListVirtual.vue
dist/files-main.js
dist/files-main.js.map