mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-01 12:03:55 +01:00
Few fixes
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
</v-menu>
|
||||
</v-btn>
|
||||
<v-spacer />
|
||||
<div v-if="emails" class="d-flex align-center">
|
||||
<div v-if="emails.results" class="d-flex align-center">
|
||||
<div class="text-caption mr-2">
|
||||
{{ emails.first_index }}-{{ emails.last_index }} {{ $gettext('on') }}
|
||||
{{ emails.count }}
|
||||
@@ -174,7 +174,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { computed, nextTick, onMounted, onUnmounted, ref, watch } from 'vue'
|
||||
import { computed, onMounted, onUnmounted, ref, watch } from 'vue'
|
||||
import { useRouter, useRoute } from 'vue-router'
|
||||
import { useGettext } from 'vue3-gettext'
|
||||
import { useBusStore, useWebmailStore } from '@/stores'
|
||||
@@ -194,13 +194,11 @@ const router = useRouter()
|
||||
const route = useRoute()
|
||||
|
||||
const loading = ref(false)
|
||||
const emails = ref([])
|
||||
const emailsPage = ref({})
|
||||
const emails = ref({})
|
||||
const page = ref(1)
|
||||
const search = ref('')
|
||||
const selectAll = ref(false)
|
||||
const working = ref(false)
|
||||
const emailList = ref(null)
|
||||
|
||||
let intervalId = null
|
||||
|
||||
|
||||
@@ -167,7 +167,7 @@ async function onDrop(mailbox) {
|
||||
timeout: 0,
|
||||
})
|
||||
const resp = await api.moveSelection(
|
||||
route.query.mailbox,
|
||||
route.query.mailbox || 'INBOX',
|
||||
mailbox.name,
|
||||
webmailStore.selection
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user