about summary refs log tree commit diff
path: root/MatrixRoomUtils.Web/Shared/RoomListComponents
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixRoomUtils.Web/Shared/RoomListComponents')
-rw-r--r--MatrixRoomUtils.Web/Shared/RoomListComponents/RoomListCategory.razor4
-rw-r--r--MatrixRoomUtils.Web/Shared/RoomListComponents/RoomListSpace.razor4
2 files changed, 4 insertions, 4 deletions
diff --git a/MatrixRoomUtils.Web/Shared/RoomListComponents/RoomListCategory.razor b/MatrixRoomUtils.Web/Shared/RoomListComponents/RoomListCategory.razor

index ecdcc68..a7e9399 100644 --- a/MatrixRoomUtils.Web/Shared/RoomListComponents/RoomListCategory.razor +++ b/MatrixRoomUtils.Web/Shared/RoomListComponents/RoomListCategory.razor
@@ -16,9 +16,9 @@ @code { [Parameter] - public KeyValuePair<string, List<Room>> Category { get; set; } + public KeyValuePair<string, List<GenericRoom>> Category { get; set; } private string roomType => Category.Key; - private List<Room> rooms => Category.Value; + private List<GenericRoom> rooms => Category.Value; } \ No newline at end of file diff --git a/MatrixRoomUtils.Web/Shared/RoomListComponents/RoomListSpace.razor b/MatrixRoomUtils.Web/Shared/RoomListComponents/RoomListSpace.razor
index c90ae8f..5d106c3 100644 --- a/MatrixRoomUtils.Web/Shared/RoomListComponents/RoomListSpace.razor +++ b/MatrixRoomUtils.Web/Shared/RoomListComponents/RoomListSpace.razor
@@ -14,7 +14,7 @@ @code { [Parameter] - public Room Space { get; set; } + public GenericRoom Space { get; set; } [Parameter, CascadingParameter] public string? Breadcrumbs { @@ -22,7 +22,7 @@ set => _breadcrumbs = value; } - private List<Room> Children { get; set; } = new(); + private List<GenericRoom> Children { get; set; } = new(); protected override async Task OnInitializedAsync() { if (Breadcrumbs == null) throw new ArgumentNullException(nameof(Breadcrumbs));