MCPcopy Create free account
hub / github.com/error311/FileRise / hasSidebarCards

Function hasSidebarCards

public/js/dragAndDrop.js:1097–1100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1095
1096// -------------------- layout polish --------------------
1097function hasSidebarCards() {
1098 const sb = getSidebar();
1099 return !!sb && sb.querySelectorAll('#uploadCard, #folderManagementCard').length > 0;
1100}
1101function hasTopZoneCards() {
1102 const tz = getTopZone();
1103 return !!tz && tz.querySelectorAll('#uploadCard, #folderManagementCard').length > 0;

Callers 2

updateSidebarVisibilityFunction · 0.85
ensureSidebarPlaceholderFunction · 0.85

Calls 1

getSidebarFunction · 0.85

Tested by

no test coverage detected