This commit is contained in:
MeysamMoghaddam
2025-10-20 21:17:53 +03:30
parent 59e58abaf9
commit d69a3617d9
6 changed files with 109 additions and 32 deletions

View File

@@ -1,6 +1,7 @@
using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using MudBlazor;
using FrontOffice.Main.Utilities;
namespace FrontOffice.Main.Pages.Profile.Components;
public partial class OrganizationChartLevel
@@ -10,6 +11,8 @@ public partial class OrganizationChartLevel
[CascadingParameter] private OrganizationChart? ParentChart { get; set; }
[Inject] private AuthDialogService AuthDialogService { get; set; } = default!;
private Size GetAvatarSize(int level)
{
return level switch