@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.
package/dist/sparkvault.cjs.js
CHANGED
|
@@ -7053,12 +7053,20 @@ class UploadModalContainer {
|
|
|
7053
7053
|
this.elements.modal.classList.add('svu-with-sidebar');
|
|
7054
7054
|
this.elements.modal.appendChild(sidebar);
|
|
7055
7055
|
this.elements.sidebar = sidebar;
|
|
7056
|
+
// Hide header when sidebar is shown (sidebar has its own logo)
|
|
7057
|
+
if (this.headerElement) {
|
|
7058
|
+
this.headerElement.style.display = 'none';
|
|
7059
|
+
}
|
|
7056
7060
|
}
|
|
7057
7061
|
else if (!show && this.elements.sidebar) {
|
|
7058
7062
|
// Remove sidebar
|
|
7059
7063
|
this.elements.modal.classList.remove('svu-with-sidebar');
|
|
7060
7064
|
this.elements.sidebar.remove();
|
|
7061
7065
|
this.elements.sidebar = null;
|
|
7066
|
+
// Show header again when sidebar is hidden
|
|
7067
|
+
if (this.headerElement) {
|
|
7068
|
+
this.headerElement.style.display = '';
|
|
7069
|
+
}
|
|
7062
7070
|
}
|
|
7063
7071
|
}
|
|
7064
7072
|
createSecuritySidebar() {
|