diff --git a/applications/Unity.GrantManager/modules/Unity.AI/src/Unity.AI.Web/Pages/AIReporting/Index.cshtml b/applications/Unity.GrantManager/modules/Unity.AI/src/Unity.AI.Web/Pages/AIReporting/Index.cshtml index a7ffb565fb..6e4fd0b435 100644 --- a/applications/Unity.GrantManager/modules/Unity.AI/src/Unity.AI.Web/Pages/AIReporting/Index.cshtml +++ b/applications/Unity.GrantManager/modules/Unity.AI/src/Unity.AI.Web/Pages/AIReporting/Index.cshtml @@ -1,18 +1,9 @@ @page @model Unity.AI.Web.Pages.AIReporting.IndexModel -@section styles { - @if (Model.CanViewAiReporting) - { - - } -} - @section scripts { @if (Model.CanViewAiReporting) { - - diff --git a/applications/Unity.GrantManager/modules/Unity.Payments/src/Unity.Payments.Application/Domain/Services/PaymentRequestQueryManager.cs b/applications/Unity.GrantManager/modules/Unity.Payments/src/Unity.Payments.Application/Domain/Services/PaymentRequestQueryManager.cs index cbf5075072..7f07112a4b 100644 --- a/applications/Unity.GrantManager/modules/Unity.Payments/src/Unity.Payments.Application/Domain/Services/PaymentRequestQueryManager.cs +++ b/applications/Unity.GrantManager/modules/Unity.Payments/src/Unity.Payments.Application/Domain/Services/PaymentRequestQueryManager.cs @@ -152,7 +152,7 @@ public async Task> GetPagedPaymentRequestsWithIncludesAsync if (includeTags) { paymentsQueryable = paymentsQueryable - .Include(pr => pr.PaymentTags) + .Include(pr => pr.PaymentTags!) .ThenInclude(pt => pt.Tag); } @@ -161,9 +161,7 @@ public async Task> GetPagedPaymentRequestsWithIncludesAsync paymentsQueryable = paymentsQueryable.Include(pr => pr.ExpenseApprovals); } -#pragma warning disable CS8620 // Argument cannot be used for parameter due to differences in the nullability of reference types. var paymentWithIncludes = await paymentsQueryable.ToListAsync(); -#pragma warning restore CS8620 // Argument cannot be used for parameter due to differences in the nullability of reference types. return paymentWithIncludes; } diff --git a/applications/Unity.GrantManager/modules/Unity.Payments/src/Unity.Payments.Application/PaymentsApplicationMapperlyProfile.cs b/applications/Unity.GrantManager/modules/Unity.Payments/src/Unity.Payments.Application/PaymentsApplicationMapperlyProfile.cs index 2eb6dcf743..10ff71d7e1 100644 --- a/applications/Unity.GrantManager/modules/Unity.Payments/src/Unity.Payments.Application/PaymentsApplicationMapperlyProfile.cs +++ b/applications/Unity.GrantManager/modules/Unity.Payments/src/Unity.Payments.Application/PaymentsApplicationMapperlyProfile.cs @@ -24,11 +24,15 @@ public partial class PaymentRequestToPaymentRequestDtoMapper : MapperBase