Skip to content

Commit

Permalink
WEBUI-1202: Fix blob enrichers initialization when WOPI is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuljain-dev committed Aug 9, 2023
1 parent c9edb3e commit b2cc992
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ const loadApp = () => import(/* webpackMode: "eager" */ './elements/nuxeo-app.js
const loadLegacy = () => import(/* webpackMode: "eager" */ './legacy.js');
const loadBundle = () =>
import('./elements/nuxeo-web-ui-bundle.html').then(({ default: bundleHtml }) => importHTML(bundleHtml));
const loadAddons = () => {
const loadAddons = async () => {
const bundles = [...Nuxeo.UI.bundles, 'nuxeo-spreadsheet'];
// load addons / bundles
// NXP-26977: await loading of addons
Promise.all(
await Promise.all(
bundles.map((url) => {
if (url.endsWith('.html')) {
return new Promise((resolve, reject) => importHref(url, resolve, reject));
Expand Down

0 comments on commit b2cc992

Please sign in to comment.