about summary refs log tree commit diff
path: root/MatrixRoomUtils.Web/Shared/TimelineComponents/TimelineUnknownItem.razor
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-07-17 03:14:38 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-07-17 03:14:38 +0200
commitd8b91f1c5e07a1aa30963977a145ff8ecde10a41 (patch)
treeaf12f3a2f81f75f5cd8e7e39c1b86d0f25374ffc /MatrixRoomUtils.Web/Shared/TimelineComponents/TimelineUnknownItem.razor
parentHandle external logouts (diff)
downloadMatrixUtils-d8b91f1c5e07a1aa30963977a145ff8ecde10a41.tar.xz
Improve timeline
Diffstat (limited to '')
-rw-r--r--MatrixRoomUtils.Web/Shared/TimelineComponents/TimelineUnknownItem.razor15
1 files changed, 5 insertions, 10 deletions
diff --git a/MatrixRoomUtils.Web/Shared/TimelineComponents/TimelineUnknownItem.razor b/MatrixRoomUtils.Web/Shared/TimelineComponents/TimelineUnknownItem.razor
index d8ea7e2..d0871c3 100644
--- a/MatrixRoomUtils.Web/Shared/TimelineComponents/TimelineUnknownItem.razor
+++ b/MatrixRoomUtils.Web/Shared/TimelineComponents/TimelineUnknownItem.razor
@@ -1,20 +1,15 @@
-<div>
+@inherits BaseTimelineItem
 
+<div>
     <details style="display: inline;">
         <summary>
-            <i style="color: red;">
-                Unknown event type: <pre style="display: inline;">@Event.Type</pre>
-            </i>
+            <i style="color: red;">Unknown event type: <pre style="display: inline;">@Event.Type</pre></i>
         </summary>
-        <pre>
-           @Event.ToJson()
-        </pre>
+        <pre>@Event.ToJson()</pre>
     </details>
 </div>
 
 @code {
 
-    [Parameter]
-    public StateEvent Event { get; set; }
 
-}
\ No newline at end of file
+}