mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-08-20 16:52:57 +00:00
Rename isLoading to isLoadingLicence in the PandocDialog component
This commit is contained in:
parent
5e6b1188b1
commit
e4b2d6ff0a
@ -13,7 +13,7 @@
|
||||
|
||||
<MudExpansionPanels Class="mb-3" MultiExpansion="@false" Outlined="false" Elevation="0">
|
||||
<ExpansionPanel HeaderIcon="@Icons.Material.Filled.Verified" HeaderText="View GNU General Public License v2 (GPL)" MaxHeight="300" ExpandedChanged="this.WhenExpandingLicence">
|
||||
@if (this.isLoading)
|
||||
@if (this.isLoadingLicence)
|
||||
{
|
||||
<MudSkeleton />
|
||||
<MudSkeleton Animation="Animation.Wave" />
|
||||
|
@ -37,7 +37,7 @@ public partial class PandocDialog : ComponentBase
|
||||
private bool showSkeleton;
|
||||
private bool showInstallPage;
|
||||
private string? licenseText;
|
||||
private bool isLoading;
|
||||
private bool isLoadingLicence;
|
||||
private int selectedInstallerIndex = SelectInstallerIndex();
|
||||
private int selectedArchiveIndex = SelectArchiveIndex();
|
||||
private string downloadUrlArchive = string.Empty;
|
||||
@ -108,7 +108,7 @@ public partial class PandocDialog : ComponentBase
|
||||
{
|
||||
if (isExpanded)
|
||||
{
|
||||
this.isLoading = true;
|
||||
this.isLoadingLicence = true;
|
||||
try
|
||||
{
|
||||
this.licenseText = await this.LoadLicenseTextAsync();
|
||||
@ -120,7 +120,7 @@ public partial class PandocDialog : ComponentBase
|
||||
}
|
||||
finally
|
||||
{
|
||||
this.isLoading = false;
|
||||
this.isLoadingLicence = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user