aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2023-11-13 17:29:25 +0200
committerHenry Jameson <me@hjkos.com>2023-11-13 17:29:25 +0200
commitec2937ec1f3b0ae153f79604eb35b57ffe0f9af2 (patch)
tree43f77d71432accfbd90dc9747224c22c1393293c /src/components/status/status.js
parentc059f4a7ee16c0128c348c43c9d468e7cfdb5ef7 (diff)
add options for marking single notification as read
Diffstat (limited to 'src/components/status/status.js')
-rw-r--r--src/components/status/status.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index a339694d..129929a3 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -154,6 +154,7 @@ const Status = {
'controlledSetMediaPlaying',
'dive'
],
+ emits: ['interacted'],
data () {
return {
uncontrolledReplying: false,
@@ -442,9 +443,11 @@ const Status = {
this.error = error
},
clearError () {
+ this.$emit('interacted')
this.error = undefined
},
toggleReplying () {
+ this.$emit('interacted')
controlledOrUncontrolledToggle(this, 'replying')
},
gotoOriginal (id) {