diff --git a/MyApp.ServiceInterface/BackgroundMqServices.cs b/MyApp.ServiceInterface/BackgroundMqServices.cs index 13253e7..0abf3b3 100644 --- a/MyApp.ServiceInterface/BackgroundMqServices.cs +++ b/MyApp.ServiceInterface/BackgroundMqServices.cs @@ -125,13 +125,13 @@ public async Task Any(DbWrites request) public async Task Any(AnalyticsTasks request) { - if (request.RecordPostView != null && !Stats.IsAdminOrModerator(request.RecordPostView.UserName)) + if (request.RecordPostView != null)// && !Stats.IsAdminOrModerator(request.RecordPostView.UserName)) { using var analyticsDb = HostContext.AppHost.GetDbConnection(Databases.Analytics); await analyticsDb.InsertAsync(request.RecordPostView); } - if (request.RecordSearchView != null && !Stats.IsAdminOrModerator(request.RecordSearchView.UserName)) + if (request.RecordSearchView != null)// && !Stats.IsAdminOrModerator(request.RecordSearchView.UserName)) { using var analyticsDb = HostContext.AppHost.GetDbConnection(Databases.Analytics); await analyticsDb.InsertAsync(request.RecordSearchView); diff --git a/MyApp/Components/Pages/Home.razor b/MyApp/Components/Pages/Home.razor index 2144c32..8fda819 100644 --- a/MyApp/Components/Pages/Home.razor +++ b/MyApp/Components/Pages/Home.razor @@ -5,7 +5,7 @@ pvq.app -
+
@if (Html != null) { diff --git a/MyApp/Components/Pages/Questions/Ask.razor b/MyApp/Components/Pages/Questions/Ask.razor index 59cd37b..f6e78ea 100644 --- a/MyApp/Components/Pages/Questions/Ask.razor +++ b/MyApp/Components/Pages/Questions/Ask.razor @@ -1,7 +1,7 @@ @page "/questions/ask" @Title -
+
@@ -10,7 +10,7 @@
-
+
diff --git a/MyApp/Components/Pages/Questions/Index.razor b/MyApp/Components/Pages/Questions/Index.razor index 0fe4465..c4c90f3 100644 --- a/MyApp/Components/Pages/Questions/Index.razor +++ b/MyApp/Components/Pages/Questions/Index.razor @@ -3,7 +3,7 @@ @inject IMessageProducer MessageProducer @Title -
+
@if (posts != null) { @@ -20,7 +20,7 @@

results for '@Q'

}
-
+
Ask Question
diff --git a/MyApp/Components/Pages/Questions/Question.razor b/MyApp/Components/Pages/Questions/Question.razor index 7a8e4c1..4e1d975 100644 --- a/MyApp/Components/Pages/Questions/Question.razor +++ b/MyApp/Components/Pages/Questions/Question.razor @@ -9,7 +9,7 @@ @title -
+
@if (Html != null) { diff --git a/MyApp/Components/Shared/Aside.razor b/MyApp/Components/Shared/Aside.razor index 6b1f5cb..7af6a5a 100644 --- a/MyApp/Components/Shared/Aside.razor +++ b/MyApp/Components/Shared/Aside.razor @@ -1,6 +1,6 @@ @inject MarkdownBlog Blog -