fix video attachments in notifications not having pointer cursor

このコミットが含まれているのは:
Henry Jameson 2021-08-15 18:35:26 +03:00
コミット 299c00cf74
2個のファイルの変更7行の追加2行の削除

ファイルの表示

@ -118,6 +118,9 @@ const Attachment = {
}
return modalTypes.includes(this.type)
},
videoTag () {
return this.useModal ? 'button' : 'span'
},
...mapGetters(['mergedConfig'])
},
watch: {

ファイルの表示

@ -127,9 +127,11 @@
/>
</a>
<span
<component
:is="videoTag"
v-if="type === 'video' && !hidden"
class="video-container"
:class="{ 'button-unstyled': 'isModal' }"
:href="attachment.url"
@click.stop.prevent="openModal"
>
@ -145,7 +147,7 @@
class="play-icon"
icon="play-circle"
/>
</span>
</component>
<span
v-if="type === 'audio' && !hidden"