mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Use mimetype instead of type when defaulting in remote shares
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
This commit is contained in:
parent
e8f4a524a2
commit
3deffc3161
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue