Compare commits

..

No commits in common. "7a302d1af0187b3410117054f2c01e29dc6d6ade" and "dca885738d63d0b8006de2cf71779b6b388bf010" have entirely different histories.

View File

@ -559,7 +559,6 @@ class BackupPage {
// Switching tabs always closes the export dropdown.
this.toggleExportMenu(false);
if (this.currentTab === 'locations') {
btn.style.display = '';
btn.innerHTML = `
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<line x1="12" y1="5" x2="12" y2="19"></line>
@ -570,7 +569,6 @@ class BackupPage {
btn.dataset.intent = 'add-location';
btn.removeAttribute('aria-haspopup');
} else if (this.currentTab === 'configuration') {
btn.style.display = '';
btn.innerHTML = `
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path>
@ -584,8 +582,7 @@ class BackupPage {
`;
btn.dataset.intent = 'export-menu';
btn.setAttribute('aria-haspopup', 'menu');
} else if (this.currentTab === 'backups') {
btn.style.display = '';
} else {
btn.innerHTML = `
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path>
@ -596,10 +593,6 @@ class BackupPage {
`;
btn.dataset.intent = 'backup-all';
btn.removeAttribute('aria-haspopup');
} else {
// Dashboard and Migrate have no header primary action.
btn.style.display = 'none';
btn.removeAttribute('aria-haspopup');
}
}