aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components/FileEntry/FileEntryPreview.vue
diff options
context:
space:
mode:
authorJonas <jonas@freesources.org>2023-11-13 18:28:20 +0100
committerJonas <jonas@freesources.org>2023-11-14 08:40:44 +0100
commitee5c444e9cadf20b3339d6e1c0c0ccd286d974cc (patch)
tree884b0706565dc9c957af5e1c4f4fdc9c689d6950 /apps/files/src/components/FileEntry/FileEntryPreview.vue
parent6284009fa024005df591f2308fefc49e68728e49 (diff)
downloadnextcloud-server-ee5c444e9cadf20b3339d6e1c0c0ccd286d974cc.tar.gz
nextcloud-server-ee5c444e9cadf20b3339d6e1c0c0ccd286d974cc.zip
fix(files): Show Collectives icon in Collectives folders
Signed-off-by: Jonas <jonas@freesources.org>
Diffstat (limited to 'apps/files/src/components/FileEntry/FileEntryPreview.vue')
-rw-r--r--apps/files/src/components/FileEntry/FileEntryPreview.vue4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files/src/components/FileEntry/FileEntryPreview.vue b/apps/files/src/components/FileEntry/FileEntryPreview.vue
index 35eb3c8804d..ddf5f5fb74c 100644
--- a/apps/files/src/components/FileEntry/FileEntryPreview.vue
+++ b/apps/files/src/components/FileEntry/FileEntryPreview.vue
@@ -78,6 +78,7 @@ import TagIcon from 'vue-material-design-icons/Tag.vue'
import PlayCircleIcon from 'vue-material-design-icons/PlayCircle.vue'
import { useUserConfigStore } from '../../store/userconfig.ts'
+import CollectivesIcon from './CollectivesIcon.vue'
import FavoriteIcon from './FavoriteIcon.vue'
import { isLivePhoto } from '../../services/LivePhotos'
@@ -87,6 +88,7 @@ export default Vue.extend({
components: {
AccountGroupIcon,
AccountPlusIcon,
+ CollectivesIcon,
FavoriteIcon,
FileIcon,
FolderIcon,
@@ -209,6 +211,8 @@ export default Vue.extend({
return NetworkIcon
case 'group':
return AccountGroupIcon
+ case 'collective':
+ return CollectivesIcon
}
return null