v1.4.1 update

This commit is contained in:
carodej
2020-05-04 11:45:13 +02:00
parent b2db3755d8
commit ce2daaf6c4
29 changed files with 677 additions and 60 deletions
+1 -1
View File
@@ -136,7 +136,7 @@
.message {
@include font-size(16);
color: #8b8f9a;
color: #333;
margin-top: 5px;
}
}
@@ -181,7 +181,7 @@
this.item = undefined
},
showContextMenu(event, item) {
let VerticalOffsetArea = item ? this.$refs.list.children.length * 50 : 50
let VerticalOffsetArea = item && this.$refs.list.children ? this.$refs.list.children.length * 50 : 50
let HorizontalOffsetArea = 190
let container = document.getElementById('files-view')
@@ -18,8 +18,7 @@
<p v-if="$checkPermission(['master', 'editor'])" class="description">{{ $t('empty_page.description') }}</p>
<ButtonUpload
v-if="$checkPermission(['master', 'editor'])"
@input.native="$uploadFiles(files)"
v-model="files"
@input.native="$uploadFiles"
button-style="theme"
>
{{ $t('empty_page.call_to_action') }}
@@ -49,12 +48,7 @@
computed: {
...mapGetters(['data', 'isLoading', 'currentFolder']),
isEmpty() {
return this.data.length == 0
}
},
data() {
return {
files: undefined
return this.data && this.data.length == 0
}
}
}