fix(mail(js)): respect thread level while loading headers

Going from the skeleton view to the populated view is smoother if we
respet the thread indentation.
pull/299/head
Francis Lachapelle 2021-06-18 17:02:15 -04:00
parent b969ca4b49
commit 2d16456bb5
1 changed files with 4 additions and 0 deletions

View File

@ -1046,6 +1046,10 @@
data.collapsed = true;
}
}
else if (!isNaN(data.level) && data.level >= 0) {
data.threadMember = true;
}
} else {
data = {uid: msg};
}