From f758dd3f1b9edbf5145ee709ff2a73825ea868bf Mon Sep 17 00:00:00 2001 From: "zaccaria.majid" Date: Wed, 19 Jul 2023 10:57:32 +0200 Subject: [PATCH] fix link x redirect --- Resources/ChangeLog.html | 2 +- Resources/VersNum.txt | 2 +- Resources/manifest.xml | 2 +- .../Areas/Identity/Pages/Account/Manage/_ManageNav.cshtml | 1 + WebDoorCreator.UI/Components/Gen/NavMenuHorizontal.razor | 2 +- .../Components/Gen/NavMenuHorizontal.razor.cs | 8 ++++++++ WebDoorCreator.UI/WebDoorCreator.UI.csproj | 2 +- 7 files changed, 14 insertions(+), 5 deletions(-) diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html index 9601b09..5d2dc7e 100644 --- a/Resources/ChangeLog.html +++ b/Resources/ChangeLog.html @@ -1,6 +1,6 @@ WebDoorCreator - Egalware -

Version: 0.9.2306.2911

+

Version: 0.9.2307.1910


Release note: diff --git a/WebDoorCreator.UI/Components/Gen/NavMenuHorizontal.razor b/WebDoorCreator.UI/Components/Gen/NavMenuHorizontal.razor index 4b9b95d..b2fe0d1 100644 --- a/WebDoorCreator.UI/Components/Gen/NavMenuHorizontal.razor +++ b/WebDoorCreator.UI/Components/Gen/NavMenuHorizontal.razor @@ -111,7 +111,7 @@
  • - +
    diff --git a/WebDoorCreator.UI/Components/Gen/NavMenuHorizontal.razor.cs b/WebDoorCreator.UI/Components/Gen/NavMenuHorizontal.razor.cs index 061b27e..96fe98c 100644 --- a/WebDoorCreator.UI/Components/Gen/NavMenuHorizontal.razor.cs +++ b/WebDoorCreator.UI/Components/Gen/NavMenuHorizontal.razor.cs @@ -1,6 +1,7 @@ using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Authorization; using Microsoft.AspNetCore.Identity; +using Microsoft.Extensions.Configuration; using WebDoorCreator.Data.DbModels; using WebDoorCreator.Data.Services; using WebDoorCreator.UI.Data; @@ -17,12 +18,19 @@ namespace WebDoorCreator.UI.Components.Gen public EventCallback E_UserCurrCompany { get; set; } + [Inject] + protected IConfiguration configuration { get; set; } = null!; public EventCallback E_UserId { get; set; } public EventCallback E_UserRole { get; set; } public EventCallback>> E_VocLemmas { get; set; } public List listRecord { get; set; } = new List(); + protected string baseUrl + { + get => configuration.GetValue("RuntimeOpt:BaseUrl"); + } + public Dictionary>? listVocLemmas { get diff --git a/WebDoorCreator.UI/WebDoorCreator.UI.csproj b/WebDoorCreator.UI/WebDoorCreator.UI.csproj index 50d1160..f0f5518 100644 --- a/WebDoorCreator.UI/WebDoorCreator.UI.csproj +++ b/WebDoorCreator.UI/WebDoorCreator.UI.csproj @@ -3,7 +3,7 @@ net6.0 enable - 0.9.2306.2911 + 0.9.2307.1910 enable aspnet-WebDoorCreator.UI-dfe95fed-1398-4144-bd43-8b3a765d6608