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:
parent
7925040d33
commit
f3b5e2b240
@ -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}/>}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user