From 11f5a609aed3373f55fc161c64f6f43af51fb443 Mon Sep 17 00:00:00 2001 From: Christian Lent Date: Tue, 28 Jan 2020 19:09:12 -0500 Subject: [PATCH] Fix for non-string (numeric) subapp ids --- packages/subapp-web/src/subapp-web.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/subapp-web/src/subapp-web.js b/packages/subapp-web/src/subapp-web.js index 4b535fb7d..eb56f2f00 100644 --- a/packages/subapp-web/src/subapp-web.js +++ b/packages/subapp-web/src/subapp-web.js @@ -138,7 +138,7 @@ markBundlesLoaded(ids) { [].concat(ids).forEach(id => { - xv1.setBundle(id, 1); + xv1.setBundle(id.toString(), 1); }); }, @@ -180,8 +180,8 @@ }, a); }, []) .filter(({ id }) => { - if (xv1.getBundle(id) === undefined) { - xv1.setBundle(id, 0); // mark as loading + if (xv1.getBundle(id.toString()) === undefined) { + xv1.setBundle(id.toString(), 0); // mark as loading return true; }