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

View File

@@ -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
}
}
}