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
No known key found for this signature in database
GPG Key ID: E055D6A4D513575C
1 changed files with
1 additions and
1 deletions
-
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' |
|
|
|
} |
|
|
|
|