Only allow browse for icon if the game has an archive
parent
f1b852c9ef
commit
576042323d
|
@ -37,9 +37,12 @@
|
||||||
<SpaceItem Style="flex-grow: 1">
|
<SpaceItem Style="flex-grow: 1">
|
||||||
<Input @bind-Value="@context.Icon" />
|
<Input @bind-Value="@context.Icon" />
|
||||||
</SpaceItem>
|
</SpaceItem>
|
||||||
|
@if (context.Archives != null && context.Archives.Count > 0)
|
||||||
|
{
|
||||||
<SpaceItem>
|
<SpaceItem>
|
||||||
<Button OnClick="BrowseForIcon" Type="@ButtonType.Primary">Browse</Button>
|
<Button OnClick="BrowseForIcon" Type="@ButtonType.Primary">Browse</Button>
|
||||||
</SpaceItem>
|
</SpaceItem>
|
||||||
|
}
|
||||||
</Space>
|
</Space>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
<FormItem Label="Description">
|
<FormItem Label="Description">
|
||||||
|
|
Loading…
Reference in New Issue