1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

multiple imports optimized

This commit is contained in:
vitorsemeano 2020-11-08 12:37:53 +00:00
parent 2243b35311
commit 5b5d6a45b0
7 changed files with 63 additions and 63 deletions

View file

@ -18,6 +18,7 @@ import '../../assets/css/clearbutton.scss';
import '../../assets/css/flexstyles.scss';
import ServerConnections from '../ServerConnections';
import toast from '../toast/toast';
import { appRouter } from '../appRouter';
/* eslint-disable indent */
@ -244,9 +245,7 @@ import toast from '../toast/toast';
if (parentId) {
reload(context, parentId, item.ServerId);
} else {
import('../appRouter').then((appRouter) => {
appRouter.goHome();
});
appRouter.goHome();
}
}