Update FamilyList.tsx

This commit is contained in:
2025-12-11 23:46:44 +01:00
committed by GitHub
parent 9ac9a1cb44
commit eb31cd3f17

View File

@@ -208,8 +208,8 @@ export const FamilyList: React.FC = () => {
<div className="space-y-8 pb-12 animate-fade-in"> <div className="space-y-8 pb-12 animate-fade-in">
{/* 1. BACHECA CONDOMINIALE (Notices) */} {/* 1. BACHECA CONDOMINIALE (Notices) */}
{/* Visualizzata SEMPRE se la feature è attiva, anche se vuota */} {/* Visualizzata solo per UTENTI STANDARD (non admin) se la feature è attiva */}
{settings?.features.notices && ( {settings?.features.notices && !isPrivileged && (
<div className="space-y-4"> <div className="space-y-4">
<h3 className="font-bold text-slate-800 text-lg flex items-center gap-2"> <h3 className="font-bold text-slate-800 text-lg flex items-center gap-2">
<Bell className="w-5 h-5 text-blue-600" /> Bacheca Condominiale <Bell className="w-5 h-5 text-blue-600" /> Bacheca Condominiale