diff options
Diffstat (limited to 'ext/fg/js/popup-factory.js')
-rw-r--r-- | ext/fg/js/popup-factory.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/popup-factory.js b/ext/fg/js/popup-factory.js index 27bd49cd..72c875f7 100644 --- a/ext/fg/js/popup-factory.js +++ b/ext/fg/js/popup-factory.js @@ -122,7 +122,7 @@ class PopupFactory { promises.push(promise); } - const results = await Promise.all(promises); + const results = (await Promise.all(promises)).filter(({token}) => token !== null); if (errors.length === 0) { const token = generateId(16); |