fix(share): compare the pending rendition build with undefined

This commit is contained in:
Maurice
2026-11-20 18:23:20 +01:00
parent 411ec4af59
commit 100313cfa9
@@ -73,7 +73,7 @@ export class PublicMediaService {
const key = `${category}/${name}`;
let pending = this.inFlight.get(key);
if (!pending) {
if (pending === undefined) {
pending = this.build(category, name, rendition).finally(() => this.inFlight.delete(key));
this.inFlight.set(key, pending);
}