mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-11 00:14:50 +03:00
Bugfix: msg.from[0] is undefined
This commit is contained in:
parent
0b2e82f9ca
commit
c7f554d22b
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@
|
|||
|
||||
ko.bindingHandlers.fromPic = {
|
||||
init: (element, self, dummy, msg) => {
|
||||
if (msg) {
|
||||
if (msg?.from?.[0]) {
|
||||
let url = getAvatar(msg),
|
||||
from = msg.from[0],
|
||||
fn = url=>{element.src = url};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue