Open Closed

[BUG]: Logon/Logout-Redirect Pages incorrectly display a flag Icon when there is a single language #3280


User avatar
0
barrett2474 created

Example Setup: Remove or disable all languages except English in the Admin console. Logout, clear all cookies, Log back in. Expected: The login/logged out redirection pages should respect the fact that there is no choice for languages and not show the flag icon Actual: The Login page when displayed show the 1 language enabled

The Blazor client works OK.

  • ABP Framework version: v5.3.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

4 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can override the LanguageSwitchcomponent.

    lepton-theme\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton\Themes\Lepton\Components\Toolbar\LanguageSwitch\Default.cshtml

    lepton-theme\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton\Themes\Lepton\Components\Toolbar\LanguageSwitch\LanguageSwitchViewComponent.cs

    Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.Themes.Lepton.Components.Toolbar.LanguageSwitch.LanguageSwitchViewComponent

  • User Avatar
    0
    barrett2474 created

    OK, thanks for the answer. may I suggest making the developer do a little less heavy lifting to merely hide a icon in the same way the Web UI does. Happy to close.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I created an internal issue.

  • User Avatar
    0
    barrett2474 created

    Really! - oh that is great. Really appreciate your help - very happy with how everything is going with ABP -- please pass on my compliments to the Team.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 26, 2024, 06:07