Load navigation items after the language plugin reloads

This commit is contained in:
Thorsten Sommer 2025-05-03 21:46:12 +02:00
parent 2981da577b
commit 4e67ea482a
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
2 changed files with 3 additions and 0 deletions

View File

@ -208,6 +208,8 @@ public partial class MainLayout : LayoutComponentBase, IMessageBusReceiver, ILan
case Event.PLUGINS_RELOADED: case Event.PLUGINS_RELOADED:
this.Lang = await this.SettingsManager.GetActiveLanguagePlugin(); this.Lang = await this.SettingsManager.GetActiveLanguagePlugin();
I18N.Init(this.Lang); I18N.Init(this.Lang);
this.LoadNavItems();
await this.InvokeAsync(this.StateHasChanged); await this.InvokeAsync(this.StateHasChanged);
break; break;
} }

View File

@ -8,4 +8,5 @@
- Improved chat name generation to prevent the inclusion of line breaks, tabs, and other special characters. - Improved chat name generation to prevent the inclusion of line breaks, tabs, and other special characters.
- Fixed an issue where empty lines in source code were being ignored by the Markdown renderer. Thanks My Nihongo for fixing this bug in the `MudBlazor.Markdown` repository. - Fixed an issue where empty lines in source code were being ignored by the Markdown renderer. Thanks My Nihongo for fixing this bug in the `MudBlazor.Markdown` repository.
- Fixed the localization assistant not being able to load the localization file when used in the release app. - Fixed the localization assistant not being able to load the localization file when used in the release app.
- Fixed the localization of the navigation component.
- Upgraded Rust & .NET dependencies. - Upgraded Rust & .NET dependencies.