spotlight desktop UI

This commit is contained in:
Peter Papp
2021-08-10 08:16:34 +02:00
parent 98691dcdd4
commit f78cedbc0c
7 changed files with 585 additions and 11 deletions
@@ -78,7 +78,8 @@ import {events} from '@/bus'
export default {
name: 'FileItemList',
props: [
'item'
'item',
'disableHighlight'
],
components: {
MoreVerticalIcon,
@@ -94,7 +95,7 @@ export default {
'entries'
]),
isClicked() {
return this.clipboard.some(element => element.id === this.item.id)
return !this.disableHighlight && this.clipboard.some(element => element.id === this.item.id)
},
isFolder() {
return this.item.type === 'folder'