mirror of
https://gitlab.aliens-lyon.fr/encartes/web-interface.git
synced 2026-03-17 22:51:04 +01:00
Remove warnings
This commit is contained in:
parent
104da0242b
commit
df2d531467
@ -104,10 +104,10 @@ function RoomInformation({ roomId }) {
|
||||
</Typography>
|
||||
<ul>
|
||||
<li>{
|
||||
names.length == 0 ? <em>Aucun nom défini</em> : names.join(', ')
|
||||
names.length === 0 ? <em>Aucun nom défini</em> : names.join(', ')
|
||||
}</li>
|
||||
<li>{
|
||||
users.length == 0
|
||||
users.length === 0
|
||||
? <em>Aucun utilisateur défini</em>
|
||||
: 'Utilisée par ' + users.join(', ')
|
||||
}</li>
|
||||
|
||||
@ -7,7 +7,7 @@ import TableBody from '@mui/material/TableBody';
|
||||
|
||||
/* Displays a list of rooms */
|
||||
export default function Rooms({ rooms, callbackRoomSelected }) {
|
||||
if (rooms.length == 0) {
|
||||
if (rooms.length === 0) {
|
||||
return;
|
||||
}
|
||||
return <TableContainer variant="outlined">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user