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:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2022-05-30 16:29:41 +0300
committerGitHub <noreply@github.com>2022-05-30 16:29:41 +0300
commit7e5d5c1371d3ec8fb2aaed7da4b1728cc3027931 (patch)
treed5374602a02a4044e3e4bbc2fd694cfa68a15f15 /src
parentf9a0e5fb772def60ad83f626406507b5820992ee (diff)
parent83f56d9103dbf5eac9a5b2d0a4b52a057622507a (diff)
Merge pull request #6582 from sazanof/bug/reply-only-sender-add-all
"Reply to sender only" replies to all if hasMultipleRecipients is true
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"