- .multiselect-actions as position:fixed

- zipping popup when generate zip for multiple files download
This commit is contained in:
Peter Papp
2020-12-21 09:56:03 +01:00
parent 07086c7550
commit 7da4d1f64b
21 changed files with 530 additions and 418 deletions

View File

@@ -43,11 +43,7 @@
})
// Close popup
events.$on('popup:close', () => {
// Close popup
this.isVisibleWrapper = false
})
events.$on('popup:close', () => this.isVisibleWrapper = false)
}
}
</script>

View File

@@ -1,14 +1,23 @@
<template>
<transition name="vignette">
<div v-if="isVisibleVignette" class="vignette" @click="closePopup"></div>
<div v-if="isVisible" class="vignette" @click="closePopup"></div>
</transition>
</template>
<script>
import {events} from '@/bus'
import { mapGetters } from 'vuex'
export default {
name: 'Vignette',
computed: {
...mapGetters([
'isZippingFiles'
]),
isVisible() {
return this.isZippingFiles || this.isVisibleVignette
},
},
data() {
return {
isVisibleVignette: false,
@@ -31,9 +40,7 @@
events.$on('alert:open', () => this.isVisibleVignette = true)
events.$on('success:open', () => this.isVisibleVignette = true)
events.$on('confirm:open', () => this.isVisibleVignette = true)
events.$on('mobileSortingAndPreviewVignette', (state) => {
this.isVisibleVignette = state
})
events.$on('mobileSortingAndPreviewVignette', (state) => this.isVisibleVignette = state)
}
}