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.
This commit is contained in:
Francis Lachapelle
2021-06-18 17:02:15 -04:00
parent b969ca4b49
commit 2d16456bb5

View File

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