import {RequestService, WebViewerService} from "@dh-software/webui-api";
|
|
document.addEventListener("readystatechange", async () => {
|
await RequestService.Initialized;
|
await WebViewerService.IsAppReady;
|
const catalogContent = document.querySelector(".catalog-content");
|
document.body.classList.toggle("catalog-hidden", catalogContent.childElementCount === 0);
|
})
|