Update FamilyList.tsx
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user