]> source.dussan.org Git - nextcloud-server.git/commit
Use correct icon for dir-external-root 30187/head
authorVincent Petry <vincent@nextcloud.com>
Thu, 9 Dec 2021 13:58:31 +0000 (14:58 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Fri, 10 Dec 2021 09:29:32 +0000 (09:29 +0000)
commit1a032ce6f1d2d18fb181f9c061e4ffb3fe6aa979
treeddb4a10dfdc93176dc63831d34cc2408b681b579
parent1fc27e771c05009a2066d4e82a41a951b6974117
Use correct icon for dir-external-root

When an external storage mount is shared with circles, it triggers the
share icon state to be rerendered. The picking of the mime type icon
would use the regular file icon because there is no actual icon for
"dir-external-root" that is shared.

This fixes the logic to use the "folder-external" icon in such
scenarios.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
core/js/mimetype.js