fix: allow safe fresh-clone DryRun builds
This commit is contained in:
@@ -17,6 +17,19 @@
|
||||
const shell = document.querySelector(".operator-shell");
|
||||
const splitter = document.getElementById("workspace-splitter");
|
||||
const playlistPanel = document.querySelector(".playlist-panel");
|
||||
const brandWordmark = document.querySelector("img.brand-wordmark");
|
||||
const brandWordmarkPlate = brandWordmark?.closest(".brand-wordmark-plate");
|
||||
|
||||
function showBrandWordmarkFallback() {
|
||||
brandWordmarkPlate?.classList.add("wordmark-fallback-active");
|
||||
}
|
||||
|
||||
if (brandWordmark) {
|
||||
brandWordmark.addEventListener("error", showBrandWordmarkFallback, { once: true });
|
||||
if (brandWordmark.complete && brandWordmark.naturalWidth === 0) {
|
||||
showBrandWordmarkFallback();
|
||||
}
|
||||
}
|
||||
|
||||
if (!region || !navigation || !navigationItems || !toggle || !toggleLabel ||
|
||||
!stockTab || !settingsTab || !stockWorkspace || !catalogWorkspace ||
|
||||
|
||||
Reference in New Issue
Block a user