mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-08-21 01:52:57 +00:00
Load navigation items after the language plugin reloads
This commit is contained in:
parent
2981da577b
commit
4e67ea482a
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user