multiple imports optimized
This commit is contained in:
parent
2243b35311
commit
5b5d6a45b0
7 changed files with 63 additions and 63 deletions
|
@ -183,7 +183,10 @@ import Dashboard from './clientUtils';
|
|||
}
|
||||
|
||||
function initializeTree(page, currentUser, openItems, selectedId) {
|
||||
import('jstree').then(() => {
|
||||
Promise.all([
|
||||
import('jstree'),
|
||||
import('jstree/dist/themes/default/style.css')
|
||||
]).then(() => {
|
||||
initializeTreeInternal(page, currentUser, openItems, selectedId);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue