mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-12 05:21:36 +00:00
Disable export button for enterprise configured policies
This commit is contained in:
parent
1808098c4d
commit
704ed3dd2c
@ -140,7 +140,7 @@ else
|
|||||||
@T("Preparation for enterprise distribution")
|
@T("Preparation for enterprise distribution")
|
||||||
</MudText>
|
</MudText>
|
||||||
|
|
||||||
<MudButton StartIcon="@Icons.Material.Filled.ContentCopy" Disabled="@this.IsNoPolicySelected" Variant="Variant.Filled" Color="Color.Default" OnClick="@this.ExportPolicyAsConfiguration">
|
<MudButton StartIcon="@Icons.Material.Filled.ContentCopy" Disabled="@(this.IsNoPolicySelected || (this.selectedPolicy?.IsEnterpriseConfiguration ?? false))" Variant="Variant.Filled" Color="Color.Default" OnClick="@this.ExportPolicyAsConfiguration">
|
||||||
@T("Export policy as configuration section")
|
@T("Export policy as configuration section")
|
||||||
</MudButton>
|
</MudButton>
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user