chore: Add an indicator for incoming emails (#1112)

This commit is contained in:
Pranav Raj S
2020-08-01 20:56:47 +05:30
committed by GitHub
parent 6d4cfcceba
commit 5e5f34bedc
15 changed files with 207 additions and 219 deletions

View File

@@ -1,25 +1,20 @@
<template>
<div class="image message-text__wrap">
<img
:src="url"
v-on:click="onClick"
/>
<span class="time">{{readableTime}}</span>
<img :src="url" @click="onClick" />
<woot-modal :show.sync="show" :on-close="onClose">
<img
:src="url"
class="modal-image"
/>
<img :src="url" class="modal-image" />
</woot-modal>
</div>
</template>
<script>
export default {
props: [
'url',
'readableTime',
],
props: {
url: {
type: String,
required: true,
},
},
data() {
return {
show: false,