1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00

(bug) fix notification list is shown in notification settings page

This commit is contained in:
Du Peng 2023-09-01 15:18:29 +02:00
parent 7925040d33
commit f3b5e2b240

View File

@ -42,7 +42,7 @@ export const NotificationsCenter: React.FC<NotificationsCenterProps> = ({ onErro
content: <NotificationsList onError={onError}/>
}
]} />}
{role !== 'admin' && <NotificationsList onError={onError}/>}
{role === 'member' && <NotificationsList onError={onError}/>}
</>
);
};