- Fixed issue when upload doesn't start after you drag the file into empty view

- pointer cursor over file item
This commit is contained in:
Čarodej
2022-05-09 15:06:21 +02:00
parent e9824bb807
commit a43c799d59
8 changed files with 23 additions and 15 deletions

View File

@@ -177,7 +177,7 @@ const FunctionHelpers = {
Vue.prototype.$uploadDraggedFiles = async function (event, parent_id) {
// Show alert message when upload is disabled
if (!store.getters.user.data.meta.restrictions.canUpload) {
if (store.getters.user && !store.getters.user.data.meta.restrictions.canUpload) {
Vue.prototype.$temporarilyDisabledUpload()
return