This commit is contained in:
ThatOneCalculator 2022-11-13 12:51:32 -08:00
parent 4f3bc5a226
commit c70dc36e37
2 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "calckey", "name": "calckey",
"version": "12.119.0-calc.12.13", "version": "12.119.0-calc.12.14",
"codename": "aqua", "codename": "aqua",
"repository": { "repository": {
"type": "git", "type": "git",

View file

@ -8,12 +8,12 @@
</button> </button>
<div v-if="!message.isDeleted" class="content"> <div v-if="!message.isDeleted" class="content">
<Mfm v-if="message.text" ref="text" class="text" :text="message.text" :i="$i"/> <Mfm v-if="message.text" ref="text" class="text" :text="message.text" :i="$i"/>
<div v-if="message.file" class="file"> </div>
<XMediaList v-if="message.file.type.split('/')[0] == 'image' || message.file.type.split('/')[0] == 'video'" :media-list="[message.file]" max-width="400px" style="border-radius: 5px"/> <div v-if="message.file" class="file">
<a v-else :href="message.file.url" rel="noopener" target="_blank" :title="message.file.name"> <XMediaList v-if="message.file.type.split('/')[0] == 'image' || message.file.type.split('/')[0] == 'video'" :media-list="[message.file]" max-width="400px" style="border-radius: 5px"/>
<p>{{ message.file.name }}</p> <a v-else :href="message.file.url" rel="noopener" target="_blank" :title="message.file.name">
</a> <p>{{ message.file.name }}</p>
</div> </a>
</div> </div>
<div v-else class="content"> <div v-else class="content">
<p class="is-deleted">{{ i18n.ts.deleted }}</p> <p class="is-deleted">{{ i18n.ts.deleted }}</p>