Chore: Add an option to upload a business logo to inbox (#905)

Chore: Add an option to upload a business logo to inbox
This commit is contained in:
Pranav Raj S
2020-05-31 16:16:22 +05:30
committed by GitHub
parent 47ec7ad7c9
commit 884a1c5971
10 changed files with 236 additions and 127 deletions

View File

@@ -105,6 +105,15 @@ export default {
return `user-thumbnail ${classname}`;
},
},
watch: {
src: {
handler(value, oldValue) {
if (value !== oldValue && this.imgError) {
this.imgError = false;
}
},
},
},
methods: {
onImgError() {
this.imgError = true;