From 52b43f4eef0b5c684eafba1332b9f3a01cc1e5d8 Mon Sep 17 00:00:00 2001 From: Engincan VESKE Date: Thu, 18 Jun 2026 17:49:08 +0300 Subject: [PATCH] Fix build for ABP 10.4 upgrade --- .../Pages/Payment/Requests/Index.razor | 6 +- .../EventHubAdminHttpApiHostModule.cs | 2 +- .../Components/UserPicker/UserPicker.razor | 16 ++--- .../EventHub.Admin.Web.csproj | 6 +- .../Pages/AttendeeDetail.razor | 2 +- .../Pages/EventManagement.razor | 58 +++++++++---------- .../Pages/OrganizationManagement.razor | 48 +++++++-------- .../OrganizationMembershipManagement.razor | 4 +- .../EventHubHttpApiHostModule.cs | 2 +- src/EventHub.Web/EventHubWebModule.cs | 2 +- 10 files changed, 74 insertions(+), 72 deletions(-) diff --git a/modules/payment/src/Payment.Admin.Blazor/Pages/Payment/Requests/Index.razor b/modules/payment/src/Payment.Admin.Blazor/Pages/Payment/Requests/Index.razor index 4075632..65a3b6d 100644 --- a/modules/payment/src/Payment.Admin.Blazor/Pages/Payment/Requests/Index.razor +++ b/modules/payment/src/Payment.Admin.Blazor/Pages/Payment/Requests/Index.razor @@ -17,7 +17,7 @@
@L["ProductName"] - + @L["Status"] @@ -31,11 +31,11 @@ @L["MinCreationTime"] - + @L["MaxCreationTime"] - + diff --git a/src/EventHub.Admin.HttpApi.Host/EventHubAdminHttpApiHostModule.cs b/src/EventHub.Admin.HttpApi.Host/EventHubAdminHttpApiHostModule.cs index 8c63eaa..f435f71 100644 --- a/src/EventHub.Admin.HttpApi.Host/EventHubAdminHttpApiHostModule.cs +++ b/src/EventHub.Admin.HttpApi.Host/EventHubAdminHttpApiHostModule.cs @@ -17,7 +17,7 @@ using Microsoft.AspNetCore.Localization; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; -using Microsoft.OpenApi.Models; +using Microsoft.OpenApi; using StackExchange.Redis; using Volo.Abp; using Volo.Abp.AspNetCore.Mvc; diff --git a/src/EventHub.Admin.Web/Components/UserPicker/UserPicker.razor b/src/EventHub.Admin.Web/Components/UserPicker/UserPicker.razor index 30a80ac..0a6367f 100644 --- a/src/EventHub.Admin.Web/Components/UserPicker/UserPicker.razor +++ b/src/EventHub.Admin.Web/Components/UserPicker/UserPicker.razor @@ -1,4 +1,4 @@ -@using EventHub.Admin.Users +@using EventHub.Admin.Users @inherits EventHubComponentBase @inject IUserAppService UserAppService @@ -13,7 +13,7 @@ @L["UserName"] - +
@@ -30,34 +30,34 @@ - @if (SelectAllUsers.ContainsKey(context.Id)) + @if (SelectAllUsers.ContainsKey(context.Item.Id)) { - + } - @(context.Username) + @(context.Item.Username) - @(context.Name) + @(context.Item.Name) - @(context.Surname) + @(context.Item.Surname) - @(context.Email) + @(context.Item.Email) diff --git a/src/EventHub.Admin.Web/EventHub.Admin.Web.csproj b/src/EventHub.Admin.Web/EventHub.Admin.Web.csproj index 4b72d2d..1e7800a 100644 --- a/src/EventHub.Admin.Web/EventHub.Admin.Web.csproj +++ b/src/EventHub.Admin.Web/EventHub.Admin.Web.csproj @@ -11,13 +11,15 @@ - - + + + + diff --git a/src/EventHub.Admin.Web/Pages/AttendeeDetail.razor b/src/EventHub.Admin.Web/Pages/AttendeeDetail.razor index 6526d7b..f94f691 100644 --- a/src/EventHub.Admin.Web/Pages/AttendeeDetail.razor +++ b/src/EventHub.Admin.Web/Pages/AttendeeDetail.razor @@ -35,7 +35,7 @@ diff --git a/src/EventHub.Admin.Web/Pages/EventManagement.razor b/src/EventHub.Admin.Web/Pages/EventManagement.razor index 55b74e9..e488438 100644 --- a/src/EventHub.Admin.Web/Pages/EventManagement.razor +++ b/src/EventHub.Admin.Web/Pages/EventManagement.razor @@ -1,4 +1,4 @@ -@page "/events" +@page "/events" @using EventHub.Admin.Events @using EventHub.Admin.Permissions @using EventHub.Events @@ -22,37 +22,37 @@ @L["Title"] - + @L["OrganizationDisplayName"] - + @L["MinStartTime"] - + @L["MaxStartTime"] - + @L["MinAttendeeCount"] - + @L["MaxAttendeeCount"] - + @@ -70,12 +70,12 @@ @@ -126,31 +126,31 @@ @L["Title"] * - + - + @L["Description"] * - + - + @L["IsOnline"] - + @L["Online"] + @L["InPerson"] @@ -158,7 +158,7 @@ @L["Language"] - @if (Languages != null && Languages.Any()) { foreach (var language in Languages) @@ -175,11 +175,11 @@ @L["OnlineLink"] * - + - + } @@ -188,7 +188,7 @@ @L["Country"] * - @if (Countries != null && Countries.Any()) { @foreach (var country in Countries) @@ -203,11 +203,11 @@ @L["City"] * - + - + } @@ -215,11 +215,11 @@ @L["Capacity"] - + - + @@ -230,21 +230,21 @@ @L["StartTime"] * - + - + @L["EndTime"] * - + - + @@ -261,7 +261,7 @@ @L["ChooseCoverImage"] - + @if (DisabledCoverImageButton) diff --git a/src/EventHub.Admin.Web/Pages/OrganizationManagement.razor b/src/EventHub.Admin.Web/Pages/OrganizationManagement.razor index fd27350..1aba6ef 100644 --- a/src/EventHub.Admin.Web/Pages/OrganizationManagement.razor +++ b/src/EventHub.Admin.Web/Pages/OrganizationManagement.razor @@ -27,28 +27,28 @@ @L["Name"] - + @L["DisplayName"] - + @L["MinMemberCount"] - + @L["MaxMemberCount"] - + @@ -67,17 +67,17 @@ @@ -125,66 +125,66 @@ @L["DisplayName"] * - + - + @L["Description"] * - + - + @L["Website"] - + - + @L["TwitterUsername"] - + - + @L["GitHubUsername"] - + - + @L["FacebookUsername"] - + - + @@ -192,22 +192,22 @@ @L["InstagramUsername"] - + - + @L["MediumUsername"] - + - + @@ -236,7 +236,7 @@ @L["ChooseProfileImage"] - + @if (DisabledProfileImageButton) diff --git a/src/EventHub.Admin.Web/Pages/OrganizationMembershipManagement.razor b/src/EventHub.Admin.Web/Pages/OrganizationMembershipManagement.razor index fa49bf4..5987fc3 100644 --- a/src/EventHub.Admin.Web/Pages/OrganizationMembershipManagement.razor +++ b/src/EventHub.Admin.Web/Pages/OrganizationMembershipManagement.razor @@ -25,14 +25,14 @@ @L["OrganizationName"] - + @L["UserName"] - + diff --git a/src/EventHub.HttpApi.Host/EventHubHttpApiHostModule.cs b/src/EventHub.HttpApi.Host/EventHubHttpApiHostModule.cs index 8535baa..c0cfe40 100644 --- a/src/EventHub.HttpApi.Host/EventHubHttpApiHostModule.cs +++ b/src/EventHub.HttpApi.Host/EventHubHttpApiHostModule.cs @@ -19,7 +19,7 @@ using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Options; -using Microsoft.OpenApi.Models; +using Microsoft.OpenApi; using StackExchange.Redis; using Volo.Abp; using Volo.Abp.AspNetCore.Mvc; diff --git a/src/EventHub.Web/EventHubWebModule.cs b/src/EventHub.Web/EventHubWebModule.cs index 4125ec0..790a7ba 100644 --- a/src/EventHub.Web/EventHubWebModule.cs +++ b/src/EventHub.Web/EventHubWebModule.cs @@ -14,7 +14,7 @@ using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.IdentityModel.Protocols.OpenIdConnect; -using Microsoft.OpenApi.Models; +using Microsoft.OpenApi; using Payment.Web; using StackExchange.Redis; using Volo.Abp;