about summary refs log tree commit diff
path: root/MatrixUtils.Web/Pages/Dev
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixUtils.Web/Pages/Dev')
-rw-r--r--MatrixUtils.Web/Pages/Dev/DevUtilities.razor6
1 files changed, 3 insertions, 3 deletions
diff --git a/MatrixUtils.Web/Pages/Dev/DevUtilities.razor b/MatrixUtils.Web/Pages/Dev/DevUtilities.razor
index 611d4c1..87416a2 100644
--- a/MatrixUtils.Web/Pages/Dev/DevUtilities.razor
+++ b/MatrixUtils.Web/Pages/Dev/DevUtilities.razor
@@ -12,9 +12,9 @@
 else {
     <details>
         <summary>Room List</summary>
-        @foreach (var room in Rooms) {
-            <a style="color: unset; text-decoration: unset;" href="/RoomStateViewer/@room.Replace('.', '~')">
-                <RoomListItem RoomInfo="@(new RoomInfo() { Room = hs.GetRoom(room) })" LoadData="true"></RoomListItem>
+        @foreach (var roomId in Rooms) {
+            <a style="color: unset; text-decoration: unset;" href="/RoomStateViewer/@roomId.Replace('.', '~')">
+                <RoomListItem RoomInfo="@(new RoomInfo(hs.GetRoom(roomId)))" LoadData="true"></RoomListItem>
             </a>
         }
     </details>