mirror of
https://github.com/axllent/mailpit.git
synced 2025-04-21 12:17:05 +02:00
UI: Reset pagination when returning to inbox from search
This commit is contained in:
parent
b4a4d44492
commit
898b36ce0b
@ -55,7 +55,7 @@ export default {
|
|||||||
<template>
|
<template>
|
||||||
<template v-if="!modals">
|
<template v-if="!modals">
|
||||||
<div class="list-group my-2">
|
<div class="list-group my-2">
|
||||||
<RouterLink to="/" class="list-group-item list-group-item-action">
|
<RouterLink to="/" class="list-group-item list-group-item-action" @click="pagination.start = 0">
|
||||||
<i class="bi bi-arrow-return-left me-1"></i>
|
<i class="bi bi-arrow-return-left me-1"></i>
|
||||||
<span class="ms-1">Inbox</span>
|
<span class="ms-1">Inbox</span>
|
||||||
<span class="badge rounded-pill ms-1 float-end text-bg-secondary" title="Unread messages"
|
<span class="badge rounded-pill ms-1 float-end text-bg-secondary" title="Unread messages"
|
||||||
@ -71,18 +71,6 @@ export default {
|
|||||||
</button>
|
</button>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- <button class="list-group-item list-group-item-action" data-bs-toggle="modal" data-bs-target="#MarkAllReadModal"
|
|
||||||
:disabled="!mailbox.unread">
|
|
||||||
<i class="bi bi-eye-fill me-1"></i>
|
|
||||||
Mark all read
|
|
||||||
</button>
|
|
||||||
|
|
||||||
<button class="list-group-item list-group-item-action" data-bs-toggle="modal" data-bs-target="#DeleteAllModal"
|
|
||||||
:disabled="!mailbox.total">
|
|
||||||
<i class="bi bi-trash-fill me-1 text-danger"></i>
|
|
||||||
Delete all
|
|
||||||
</button> -->
|
|
||||||
|
|
||||||
<NavSelected @loadMessages="loadMessages" />
|
<NavSelected @loadMessages="loadMessages" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user