mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-26 22:57:32 +00:00
fix(share): compare the pending rendition build with undefined
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user