bulk-operations v0.3 issues solved

This commit is contained in:
Milos Holba
2020-12-04 10:56:27 +01:00
parent aff2594ef2
commit 441f911560
5 changed files with 63 additions and 81 deletions

View File

@@ -25,6 +25,10 @@ import {events} from '@/bus'
if(this.fileInfoDetail.length > 1 && this.fileInfoDetail.includes(this.draggedItem) ) {
return this.fileInfoDetail.length + ' ' + this.$tc('file_detail.items', this.fileInfoDetail.length)
}
if((this.fileInfoDetail.length < 2 || !this.fileInfoDetail.includes(this.draggedItem)) && this.draggedItem ) {
return '.'+this.draggedItem.mimetype
}
},
},
data () {