Skip to content

Commit 997f5ab

Browse files
madbobbackportbot[bot]
authored andcommitted
fix: moved "Delete thread" at the end of the contextual actions menu
Signed-off-by: Roberto Guido <info@madbob.org>
1 parent cfec689 commit 997f5ab

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

src/components/Envelope.vue

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -327,20 +327,6 @@
327327
{{ t('mail', 'Archive message') }}
328328
</template>
329329
</ActionButton>
330-
<ActionButton
331-
v-if="hasDeleteAcl"
332-
:close-after-click="true"
333-
@click.prevent="onDelete">
334-
<template #icon>
335-
<DeleteIcon :size="20" />
336-
</template>
337-
<template v-if="layoutMessageViewThreaded">
338-
{{ t('mail', 'Delete thread') }}
339-
</template>
340-
<template v-else>
341-
{{ t('mail', 'Delete message') }}
342-
</template>
343-
</ActionButton>
344330
<ActionButton
345331
:close-after-click="false"
346332
@click="showMoreActionOptions">
@@ -437,6 +423,20 @@
437423
</template>
438424
{{ t('mail', 'Download message') }}
439425
</ActionLink>
426+
<ActionButton
427+
v-if="hasDeleteAcl"
428+
:close-after-click="true"
429+
@click.prevent="onDelete">
430+
<template #icon>
431+
<DeleteIcon :size="20" />
432+
</template>
433+
<template v-if="layoutMessageViewThreaded">
434+
{{ t('mail', 'Delete thread') }}
435+
</template>
436+
<template v-else>
437+
{{ t('mail', 'Delete message') }}
438+
</template>
439+
</ActionButton>
440440
</template>
441441
<template v-if="quickActionMenu">
442442
<ActionButton

0 commit comments

Comments
 (0)