Fix for #3374 Backward compatability

Fixes the issue in the Language selector.
This commit is contained in:
Leigh Pointer 2023-10-13 14:06:21 +02:00
parent acf71cc2c2
commit 6f12818352
2 changed files with 2 additions and 2 deletions

View File

@ -255,7 +255,7 @@
public bool ShowLanguageSwitcher { get; set; } = true;
[Parameter]
public string LanguageDropdownAlignment { get; set; } // Empty or Left or Right
public string LanguageDropdownAlignment { get; set; } = string.Empty; // Empty or Left or Right
private bool _canViewAdminDashboard = false;
private bool _showEditMode = false;

View File

@ -24,7 +24,7 @@
@code{
private IEnumerable<Culture> _supportedCultures;
[Parameter]
public string DropdownAlignment { get; set; } // Empty or Left or Right
public string DropdownAlignment { get; set; } = string.Empty; // Empty or Left or Right
private string MenuAlignment = string.Empty;
protected override void OnParametersSet()