Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMikhail Sazanov <m@sazanof.ru>2022-05-27 09:58:56 +0300
committerMikhail Sazanov <m@sazanof.ru>2022-05-28 08:33:47 +0300
commit83f56d9103dbf5eac9a5b2d0a4b52a057622507a (patch)
tree77b300e7db517bb71cd5e26184f07989fd2f6334 /src
parent3d05016bc0cc5b1798e560a5c689ae65049ab57e (diff)
Fix reply to sender only
Signed-off-by: Mikhail Sazanov <m@sazanof.ru>
Diffstat (limited to 'src')
-rw-r--r--src/components/MenuEnvelope.vue8
-rw-r--r--src/components/ThreadEnvelope.vue2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/components/MenuEnvelope.vue b/src/components/MenuEnvelope.vue
index 07046156e..5fc9f4b5c 100644
--- a/src/components/MenuEnvelope.vue
+++ b/src/components/MenuEnvelope.vue
@@ -37,7 +37,7 @@
@click="onReply">
<template #icon>
<ReplyAllIcon v-if="hasMultipleRecipients"
- :title="t('mail', 'Reply')"
+ :title="t('mail', 'Reply all')"
:size="20" />
<ReplyIcon v-else
:title="t('mail', 'Reply')"
@@ -47,7 +47,7 @@
</ActionButton>
<ActionButton v-if="hasMultipleRecipients"
:close-after-click="true"
- @click="onReply">
+ @click="onReply(true)">
<template #icon>
<ReplyIcon
:title="t('mail', 'Reply to sender only')"
@@ -435,10 +435,10 @@ export default {
onOpenTagModal() {
this.showTagModal = true
},
- onReply() {
+ onReply(onlySender = false) {
this.$store.dispatch('showMessageComposer', {
reply: {
- mode: this.hasMultipleRecipients ? 'replyAll' : 'reply',
+ mode: onlySender ? 'reply' : 'replyAll',
data: this.envelope,
},
})
diff --git a/src/components/ThreadEnvelope.vue b/src/components/ThreadEnvelope.vue
index 76f112080..7bbe08311 100644
--- a/src/components/ThreadEnvelope.vue
+++ b/src/components/ThreadEnvelope.vue
@@ -79,7 +79,7 @@
}"
class="button"
@click="onReply">
- <span class="action-label"> {{ t('mail', 'Reply') }}</span>
+ <span class="action-label"> {{ hasMultipleRecipients ? t('mail', 'Reply all') : t('mail', 'Reply') }}</span>
</button>
<MenuEnvelope class="app-content-list-item-menu"
:envelope="envelope"