1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-06-15 00:05:15 +02:00

Feature: Add option to hide the "Delete all" button in web UI (#495)

This commit is contained in:
Ralph Slooten
2025-05-17 12:28:35 +12:00
parent 84a519e84d
commit d0716b4995
6 changed files with 42 additions and 23 deletions

View File

@ -169,8 +169,11 @@ export default {
<input class="form-check-input" type="checkbox" role="switch"
id="skip-confirmations" v-model="mailbox.skipConfirmations">
<label class="form-check-label" for="skip-confirmations">
Skip <code>Delete all</code> &amp; <code>Mark all read</code> confirmation
dialogs
Skip
<template v-if="!mailbox.uiConfig.HideDeleteAllButton">
<code>Delete all</code> &amp;
</template>
<code>Mark all read</code> confirmation dialogs
</label>
</div>
</div>