@sparkvault/sdk 1.10.1 → 1.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7049,12 +7049,20 @@ class UploadModalContainer {
7049
7049
  this.elements.modal.classList.add('svu-with-sidebar');
7050
7050
  this.elements.modal.appendChild(sidebar);
7051
7051
  this.elements.sidebar = sidebar;
7052
+ // Hide header when sidebar is shown (sidebar has its own logo)
7053
+ if (this.headerElement) {
7054
+ this.headerElement.style.display = 'none';
7055
+ }
7052
7056
  }
7053
7057
  else if (!show && this.elements.sidebar) {
7054
7058
  // Remove sidebar
7055
7059
  this.elements.modal.classList.remove('svu-with-sidebar');
7056
7060
  this.elements.sidebar.remove();
7057
7061
  this.elements.sidebar = null;
7062
+ // Show header again when sidebar is hidden
7063
+ if (this.headerElement) {
7064
+ this.headerElement.style.display = '';
7065
+ }
7058
7066
  }
7059
7067
  }
7060
7068
  createSecuritySidebar() {