Revert "Upgrade to webpack@5 (#4725)" (#4872)

This commit is contained in:
Jim Ehrismann authored and GitHub committed 2022-02-16 09:14:14 -05:00
1 parent a2ee3c4d5d
commit 733bb543c9
52 files changed
+18973 -5519

No files matched your search

@@ -5,6 +5,7 @@
import type { Cluster } from "../../../../common/cluster/cluster";
import type { CatalogEntityRegistry } from "../../../api/catalog-entity-registry";
import logger from "../../../../main/logger";
import { Terminal } from "../../../components/dock/terminal/terminal";
import type { KubernetesCluster } from "../../../../common/catalog-entities";
import { Notifications } from "../../../components/notifications";
import type { AppEvent } from "../../../../common/app-event-bus/event-bus";
@@ -39,6 +40,7 @@ export const initClusterFrame =
`${logPrefix} Init dashboard, clusterId=${hostedCluster.id}, frameId=${frameRoutingId}`,
);
await Terminal.preloadFonts();
await requestSetClusterFrameId(hostedCluster.id);
await hostedCluster.whenReady; // cluster.activate() is done at this point