diff --git a/ImageBoardServerApp/Pages/Basic/Rules.razor b/ImageBoardServerApp/Pages/Basic/Rules.razor
index 21ca8e6..279a49f 100644
--- a/ImageBoardServerApp/Pages/Basic/Rules.razor
+++ b/ImageBoardServerApp/Pages/Basic/Rules.razor
@@ -5,7 +5,10 @@
@foreach (var r in RulesConv.dict.Keys)
{
- - @RulesConv.dict[r]
+ @if (!RulesConv.dict[r].StartsWith("Other"))
+ {
+ - @RulesConv.dict[r]
+ }
}
diff --git a/ImageBoardServerApp/Pages/Basic/ThreadPage.razor b/ImageBoardServerApp/Pages/Basic/ThreadPage.razor
index e35d125..8f860ac 100644
--- a/ImageBoardServerApp/Pages/Basic/ThreadPage.razor
+++ b/ImageBoardServerApp/Pages/Basic/ThreadPage.razor
@@ -3,9 +3,9 @@
@using ImageBoardServerApp.Data.Repository
@inject NavigationManager NavigationManager
-#@threadId on /@boardName/ - BulletBoard
+Thread #@post.GET on /@boardName/ - BulletBoard
-Thread #@threadId on /@boardName/
+Thread #@post.GET on /@boardName/
@@ -33,7 +33,7 @@
{
try
{
- post = await PostsRepository.getPostByGETAsync(boardName, int.Parse(threadId));
+ post = await PostsRepository.getPostByIdAsync(int.Parse(threadId));
}
catch (FormatException fe)
{
diff --git a/ImageBoardServerApp/Shared/Components/Comment.razor b/ImageBoardServerApp/Shared/Components/Comment.razor
index a43af9f..644688c 100644
--- a/ImageBoardServerApp/Shared/Components/Comment.razor
+++ b/ImageBoardServerApp/Shared/Components/Comment.razor
@@ -1,6 +1,6 @@
-@using System.Text.RegularExpressions
@using ImageBoardServerApp.Auth
@using ImageBoardServerApp.Data.Repository
+@using System.Text.RegularExpressions
@using System.ComponentModel.DataAnnotations
@inject AuthenticationStateProvider authStateProvider
@@ -53,7 +53,7 @@
>
@line
- @if (hoveringOver.p != -1 && hoveringOver == (x, y, commentNumber))
+ @if (hoveringOver.p != -1 && hoveringOver == (x, y, commentNumber) && (hoverComment.ContainsKey(commentNumber) || hoverPost.ContainsKey(commentNumber)))
{
@if (isComment[commentNumber])
{
@@ -85,6 +85,43 @@