more bugs

This commit is contained in:
Arjun Patel
2022-01-17 18:13:11 -08:00
parent 2959602bb8
commit 8644a5fa8a
2 changed files with 6 additions and 1 deletions
+3 -1
View File
@@ -168,6 +168,8 @@ export default function DashboardRoom() {
return meRooms;
case RoomTypeFilter.live:
return liveRooms;
case RoomTypeFilter.archived:
return archivedRooms;
default:
return allRooms;
}
@@ -251,7 +253,7 @@ export default function DashboardRoom() {
<Radio.Button value={RoomTypeFilter.archived}>
{RoomTypeFilter.archived}{" "}
<span className="text-xs text-orange-500">
{archivedRooms.length > 0 ? liveRooms.length : ""}
{archivedRooms.length > 0 ? archivedRooms.length : ""}
</span>
</Radio.Button>
</Radio.Group>