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 GitHub
parent 810062a1af
commit 67da025e3f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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) {