vuefilemanager v1.4-alpha.2

This commit is contained in:
carodej
2020-04-29 16:32:40 +02:00
parent 0f3cbaec3d
commit 968b12c4ac
12 changed files with 20 additions and 201 deletions
@@ -98,6 +98,7 @@
bottom: 0;
z-index: 20;
overflow: auto;
height: 100%;
}
.popup-wrapper {
@@ -115,7 +115,6 @@
this.$store.commit('FLUSH_BROWSER_HISTORY')
} else {
if ( this.$isThisLocation('public') ) {
this.$store.dispatch('browseShared', [this.previousFolder, true])
} else {
@@ -70,7 +70,7 @@
</div>
</div>
<span @click.stop="showItemActions" class="show-actions" v-if="$isMobile()">
<span @click.stop="showItemActions" class="show-actions" v-if="$isMobile() && ! ( $checkPermission('visitor') && isFolder )">
<FontAwesomeIcon icon="ellipsis-h" class="icon-action"></FontAwesomeIcon>
</span>
</div>
@@ -70,7 +70,7 @@
</div>
<!--Go Next icon-->
<div class="actions" v-if="$isMobile()">
<div class="actions" v-if="$isMobile() && ! ( $checkPermission('visitor') && isFolder )">
<span @click.stop="showItemActions" class="show-actions">
<FontAwesomeIcon icon="ellipsis-v" class="icon-action"></FontAwesomeIcon>
</span>
@@ -200,7 +200,7 @@
renameItem: debounce(function (e) {
// Prevent submit empty string
if (e.target.innerText === '') return
if (e.target.innerText.trim() === '') return
this.$store.dispatch('renameItem', {
unique_id: this.data.unique_id,
@@ -76,9 +76,9 @@
} else {
if ( this.$isThisLocation('public') ) {
this.$store.dispatch('browseShared', [this.previousFolder, false])
this.$store.dispatch('browseShared', [this.previousFolder, true])
} else {
this.$store.dispatch('getFolder', [this.previousFolder, false])
this.$store.dispatch('getFolder', [this.previousFolder, true])
}
}
},
@@ -58,6 +58,7 @@
overflow-y: auto;
display: grid;
padding: 40px;
height: 100%;
}
.popup-wrapper {