Browse Source

Use mimetype instead of type when defaulting in remote shares

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
pull/27751/head
Vincent Petry 5 years ago
parent
commit
3deffc3161
No known key found for this signature in database GPG Key ID: E055D6A4D513575C
  1. 2
      apps/files_sharing/js/sharedfilelist.js

2
apps/files_sharing/js/sharedfilelist.js

@ -355,7 +355,7 @@
file.shareOwnerId = share.owner
}
if (!file.type) {
if (!file.mimetype) {
// pending shares usually have no type, so default to showing a directory icon
file.mimetype = 'dir-shared'
}

Loading…
Cancel
Save