style: auto-fix linting issues

This commit is contained in:
SamidyFR 2026-03-10 07:45:19 +00:00 committed by github-actions[bot]
parent 92f8d4ef61
commit 71b65e70a8

View file

@ -1631,28 +1631,27 @@ export class UIRenderer {
this.updateGlobalTheme();
}
const downloadsdisabled = true;
if (downloadsdisabled == true) {
if (pageId === 'download') {
const maintenanceModal = document.getElementById('maintenance-modal');
const maintenanceHomeBtn = document.getElementById('maintenance-home-btn');
if (maintenanceModal) {
maintenanceModal.classList.add('active');
if (maintenanceHomeBtn) {
maintenanceHomeBtn.onclick = () => {
maintenanceModal.classList.remove('active');
navigate('/');
};
const downloadsdisabled = true;
if (downloadsdisabled == true) {
if (pageId === 'download') {
const maintenanceModal = document.getElementById('maintenance-modal');
const maintenanceHomeBtn = document.getElementById('maintenance-home-btn');
if (maintenanceModal) {
maintenanceModal.classList.add('active');
if (maintenanceHomeBtn) {
maintenanceHomeBtn.onclick = () => {
maintenanceModal.classList.remove('active');
navigate('/');
};
}
}
} else {
const maintenanceModal = document.getElementById('maintenance-modal');
if (maintenanceModal) {
maintenanceModal.classList.remove('active');
}
}
} else {
const maintenanceModal = document.getElementById('maintenance-modal');
if (maintenanceModal) {
maintenanceModal.classList.remove('active');
}
}
}
if (pageId === 'settings') {
this.renderApiSettings();
const savedTabName = settingsUiState.getActiveTab();