Skip to content

Commit

Permalink
fix: issues 1183、1166
Browse files Browse the repository at this point in the history
  • Loading branch information
wzh425 committed May 8, 2024
1 parent 222f8ec commit 6c32b09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public async Task GetProjectListAsync(ProjectListQuery query)
public async Task GetProjectUIAppListAsync(ProjectUIAppListQuery query)
{
query.Result = await GetProjectDtoListAsync(_multiEnvironmentUserContext.Environment, AppTypes.UI);
var menuPermissions = await _permissionRepository.GetListAsync(p => p.Enabled && p.Type == PermissionTypes.Menu
|| p.Type == PermissionTypes.Element);
var menuPermissions = await _permissionRepository.GetListAsync(p => p.Enabled && (p.Type == PermissionTypes.Menu
|| p.Type == PermissionTypes.Element));
query.Result.SelectMany(p => p.Apps).ToList().ForEach(a =>
{
a.Navs = menuPermissions.Where(p => p.AppId == a.Identity && p.GetParentId() == Guid.Empty)
Expand Down
2 changes: 1 addition & 1 deletion src/Web/Masa.Auth.Web.Sso/Pages/Account/Login/Index.razor
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

@if (_viewModel.EnableLocalLogin)
{
<MCard Width=510 Height=620 MaxHeight="620">
<MCard Width=510 Height=640 MaxHeight="640">
<div class="tab-header login-tab">
<MTabs Value="Tab" ValueChanged="TabChanged" BackgroundColor="transparent" Color="primary" HideSlider Grow >
<MTab Value="@("login")" Class="neutral-lighten-4--text" Style="height:60px;">
Expand Down

0 comments on commit 6c32b09

Please sign in to comment.