]> source.dussan.org Git - nextcloud-server.git/commit
Use correct icon for dir-external-root 30189/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:36:03 +0000 (09:36 +0000)
commitb12e1e3ca2798a447045ef0681e983fd5d2f606e
tree6f0d432882e3b9fca5f445af14a3b5487fdf81cb
parent4df4e6ea4db74e0855aca022cb0ba1ab244dc753
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