aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment/attachment.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-08-15 18:35:26 +0300
committerHenry Jameson <me@hjkos.com>2021-08-15 18:35:26 +0300
commit299c00cf74fbef8b8b597330b8c0e6e28765ab7e (patch)
tree2bb7cd66b35c36e43b77aaca94a7c9ce05ad74d1 /src/components/attachment/attachment.js
parent07c12ae16273498209ce557b59ea610e40365ad9 (diff)
fix video attachments in notifications not having pointer cursor
Diffstat (limited to 'src/components/attachment/attachment.js')
-rw-r--r--src/components/attachment/attachment.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js
index bd424087..b2ba1655 100644
--- a/src/components/attachment/attachment.js
+++ b/src/components/attachment/attachment.js
@@ -118,6 +118,9 @@ const Attachment = {
}
return modalTypes.includes(this.type)
},
+ videoTag () {
+ return this.useModal ? 'button' : 'span'
+ },
...mapGetters(['mergedConfig'])
},
watch: {