diff --git a/pages/Settings.tsx b/pages/Settings.tsx index daf9874..a2add19 100644 --- a/pages/Settings.tsx +++ b/pages/Settings.tsx @@ -491,7 +491,7 @@ export const SettingsPage: React.FC = () => { const updated = { ...notice, active: !notice.active }; await CondoService.saveNotice(updated); setNotices(notices.map(n => n.id === notice.id ? updated : n)); - } catch(e) { + } catch (e) { console.error(e); } }; @@ -698,62 +698,68 @@ export const SettingsPage: React.FC = () => { )} {/* STORAGE CONFIG TAB */} - {isPrivileged && activeTab === 'storage' && globalSettings?.storageConfig && ( + {isPrivileged && activeTab === 'storage' && (
Scegli dove salvare i documenti caricati.