зеркало из https://github.com/nextcloud/spreed.git
New menu item mark conversation as read
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
This commit is contained in:
Родитель
30285b0bf1
Коммит
9374c25b6d
|
@ -57,6 +57,11 @@
|
|||
@click.stop.prevent="copyLinkToConversation">
|
||||
{{ t('spreed', 'Copy link') }}
|
||||
</ActionButton>
|
||||
<ActionButton
|
||||
:close-after-click="true"
|
||||
@click.prevent.exact="markConversationAsRead">
|
||||
{{ t('spreed', 'Mark as read') }}
|
||||
</ActionButton>
|
||||
|
||||
<ActionSeparator />
|
||||
|
||||
|
@ -313,6 +318,10 @@ export default {
|
|||
}
|
||||
},
|
||||
|
||||
markConversationAsRead() {
|
||||
this.$store.dispatch('clearLastReadMessage', { token: this.item.token })
|
||||
},
|
||||
|
||||
/**
|
||||
* Deletes the conversation.
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче