Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lib/components/FilePicker/FilePreview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<script setup lang="ts">
import type { INode } from '@nextcloud/files'

import { mdiAccountPlus, mdiGroup, mdiLink, mdiLock, mdiNetwork, mdiTag } from '@mdi/js'
import { mdiAccountGroupOutline, mdiAccountPlus, mdiKey, mdiLink, mdiNetworkOutline, mdiTagOutline } from '@mdi/js'
import { FileType } from '@nextcloud/files'
import { ShareType } from '@nextcloud/sharing'
import { computed, ref, toRef } from 'vue'
Expand Down Expand Up @@ -65,12 +65,12 @@ const folderDecorationIcon = computed(() => {

// Encrypted folders
if (props.node.attributes?.['is-encrypted'] === 1) {
return mdiLock
return mdiKey
}

// System tags
if (props.node.attributes?.['is-tag']) {
return mdiTag
return mdiTagOutline
}

// Link and mail shared folders
Expand All @@ -87,9 +87,9 @@ const folderDecorationIcon = computed(() => {
switch (props.node.attributes?.['mount-type']) {
case 'external':
case 'external-session':
return mdiNetwork
return mdiNetworkOutline
case 'group':
return mdiGroup
return mdiAccountGroupOutline
case 'shared':
return mdiAccountPlus
}
Expand Down