Don't show browse button if there's no archive

This commit is contained in:
Pat Hartl 2023-03-23 19:19:16 -05:00
parent 6ffaee8f45
commit 7e34ad3c12

View file

@ -37,7 +37,10 @@
</Dropdown>
}
<Button Icon="@IconType.Outline.FolderOpen" OnClick="BrowseForPath" Type="@ButtonType.Text">Browse</Button>
@if (ArchiveId != Guid.Empty)
{
<Button Icon="@IconType.Outline.FolderOpen" OnClick="BrowseForPath" Type="@ButtonType.Text">Browse</Button>
}
</FormItem>
<FormItem>