Fix attachments box race condition (#4997)

fix: #4611
Since the attachment preview already has a task queue,
don't skip render calls when rendering
This commit is contained in:
windingwind 2025-01-21 11:27:33 +01:00 • committed by Dan Stillman
parent 4bc61273a0
commit 3c9dcc94bc

View file

@ -322,7 +322,6 @@
async asyncRender() {
if (!this.item) return;
if (this._asyncRendering) return;
if (!this._section.open) return;
if (this._isAlreadyRendered("async")) {
if (this._previewDiscarded) {