Skip to content
Snippets Groups Projects
Unverified Commit ea6faf27 authored by Jan-Christoph Borchardt's avatar Jan-Christoph Borchardt Committed by GitHub
Browse files

Merge pull request #1443 from nextcloud/fix/flag-envelope-seen-wording

Fix the wording of the "Seen" action on envelopes
parents 0f3379c2 ef0b6e4b
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
<div
class="app-content-list-item-star icon-starred"
:data-starred="data.flags.flagged ? 'true':'false'"
@click="toggleFlagged"
@click.prevent="toggleFlagged"
/>
<div class="app-content-list-item-icon">
<Avatar :displayName="sender"
......@@ -129,7 +129,7 @@ export default {
return [
{
icon: 'icon-mail',
text: t('mail', 'Seen'),
text: this.data.flags.unseen ? t('mail', 'Mark read') : t('mail', 'Mark unread'),
action: () => {
this.$store.dispatch('toggleEnvelopeSeen', this.data)
},
......@@ -146,9 +146,6 @@ export default {
},
methods: {
toggleFlagged(e) {
// Don't navigate
e.preventDefault()
this.$store.dispatch('toggleEnvelopeFlagged', this.data)
},
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment