Skip to content

Commit

Permalink
fix(module: modal): get RTL from ConfigProvider (#2295)
Browse files Browse the repository at this point in the history
  • Loading branch information
zxyao145 committed Feb 16, 2022
1 parent 1b32614 commit e46c800
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/modal/modalDialog/Modal.razor.cs
Expand Up @@ -213,8 +213,7 @@ private string GetWidth()
/// <summary>
/// Is RTL
/// </summary>
[CascadingParameter]
public bool Rtl { get; set; } = false;
public bool Rtl => base.RTL;

/// <summary>
/// Modal Locale
Expand Down

0 comments on commit e46c800

Please sign in to comment.