1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-06-08 23:46:21 +02:00

Minor change to timezone dropdown

This commit is contained in:
Ralph Slooten 2024-06-01 22:27:40 +12:00
parent 5dee4cc763
commit 262be51c9b

View File

@ -16,7 +16,7 @@ export default {
}, },
watch: { watch: {
theme: function(v) { theme: function (v) {
if (v == 'auto') { if (v == 'auto') {
localStorage.removeItem('theme') localStorage.removeItem('theme')
} else { } else {
@ -68,7 +68,7 @@ export default {
</div> </div>
<div class="mb-3"> <div class="mb-3">
<label for="timezone" class="form-label">Timezone (for date searches)</label> <label for="timezone" class="form-label">Timezone (for date searches)</label>
<select class="form-select tz" v-model="mailbox.timeZone" id="timezone"> <select class="form-select tz" v-model="mailbox.timeZone" id="timezone" data-allow-same="true">
<option disabled hidden value="">Select a timezone...</option> <option disabled hidden value="">Select a timezone...</option>
<option v-for="t in timezones" :value="t.tzCode">{{ t.label }}</option> <option v-for="t in timezones" :value="t.tzCode">{{ t.label }}</option>
</select> </select>