diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-07-01 20:51:15 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-07-01 20:51:15 +0200 |
commit | 7978f08235ceca22eacae11a88a7703513238cb3 (patch) | |
tree | 6a7058f21f6040cc1e9396a85774bc16ea133c9e /MatrixRoomUtils.Web/Pages/RoomState/RoomStateViewerPage.razor | |
parent | Todays progress (diff) | |
download | MatrixUtils-7978f08235ceca22eacae11a88a7703513238cb3.tar.xz |
Deduplicate some api calls
Diffstat (limited to 'MatrixRoomUtils.Web/Pages/RoomState/RoomStateViewerPage.razor')
-rw-r--r-- | MatrixRoomUtils.Web/Pages/RoomState/RoomStateViewerPage.razor | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MatrixRoomUtils.Web/Pages/RoomState/RoomStateViewerPage.razor b/MatrixRoomUtils.Web/Pages/RoomState/RoomStateViewerPage.razor index a0072ab..09b38f0 100644 --- a/MatrixRoomUtils.Web/Pages/RoomState/RoomStateViewerPage.razor +++ b/MatrixRoomUtils.Web/Pages/RoomState/RoomStateViewerPage.razor @@ -1,4 +1,4 @@ -@page "/RoomStateViewer/{RoomId}" +@page "/Rooms/{RoomId}/State/View" @using System.Net.Http.Headers @using System.Text.Json @using MatrixRoomUtils.Core.Responses @@ -73,7 +73,6 @@ await base.OnInitializedAsync(); var hs = await MRUStorage.GetCurrentSessionOrNavigate(); if (hs is null) return; - RoomId = RoomId.Replace('~', '.'); await LoadStatesAsync(); Console.WriteLine("Policy list editor initialized!"); } |