aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components/FileEntry.vue
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-09-29 11:10:51 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-10-17 11:17:35 +0200
commit4b55594f55ce4146ed93c50f71e6204a57d29612 (patch)
tree6737b2a520fbe43da3f7f73bdd2ee8adfabd0be0 /apps/files/src/components/FileEntry.vue
parentad7d20e017253ad871b7bcd7582ac9ccbcce9843 (diff)
downloadnextcloud-server-4b55594f55ce4146ed93c50f71e6204a57d29612.tar.gz
nextcloud-server-4b55594f55ce4146ed93c50f71e6204a57d29612.zip
feat(files): migrate template picker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/src/components/FileEntry.vue')
-rw-r--r--apps/files/src/components/FileEntry.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/src/components/FileEntry.vue b/apps/files/src/components/FileEntry.vue
index ff71eaeff9a..f1606d218c2 100644
--- a/apps/files/src/components/FileEntry.vue
+++ b/apps/files/src/components/FileEntry.vue
@@ -620,7 +620,7 @@ export default Vue.extend({
canDrag() {
const canDrag = (node: Node): boolean => {
- return (node.permissions & Permission.UPDATE) !== 0
+ return (node?.permissions & Permission.UPDATE) !== 0
}
// If we're dragging a selection, we need to check all files