This commit is contained in:
nasir@endelospay.com 2024-06-11 00:36:28 +05:00
parent e3e44f116e
commit 8514c7915a
2 changed files with 3 additions and 2 deletions

View File

@ -74,7 +74,8 @@ const downloadImage = async (imageUrl) => {
{{p_note.note}} {{p_note.note}}
</span> </span>
<span class="app-timeline-title" v-if="p_note.note_type == 'file'"> <span class="app-timeline-title" v-if="p_note.note_type == 'file'">
<img :src="p_note.note" @click="downloadImage(p_note.note)" />
<VIcon>ri-attachment-2</VIcon> <button @click="downloadImage(p_note.note)">Download Image</button>
</span> </span>
<span class="app-timeline-meta">{{ formatDateDate(p_note.created_at) }}</span> <span class="app-timeline-meta">{{ formatDateDate(p_note.created_at) }}</span>

View File

@ -76,7 +76,7 @@ const downloadFile = (fileUrl) => {
</span> </span>
<span class="app-timeline-title" v-if="p_note.note_type == 'file'"> <span class="app-timeline-title" v-if="p_note.note_type == 'file'">
<img :src="p_note.note" @click="downloadImage(p_note.note)" /> <VIcon>ri-attachment-2</VIcon> <button @click="downloadImage(p_note.note)">Download Image</button>
</span> </span>