Fix selecting file in archive file picker
parent
3b7a0db74e
commit
8de8d7cfdc
|
@ -56,7 +56,9 @@
|
|||
modalRef.OnOk = async (results) =>
|
||||
{
|
||||
if (!String.IsNullOrWhiteSpace(Prefix))
|
||||
Value = "{InstallDir}/" + results.FirstOrDefault().Path;
|
||||
Value = "{InstallDir}/" + results?.FirstOrDefault()?.Path;
|
||||
else
|
||||
Value = results?.FirstOrDefault()?.Path;
|
||||
|
||||
if (ValueChanged.HasDelegate)
|
||||
await ValueChanged.InvokeAsync(Value);
|
||||
|
|
|
@ -125,7 +125,7 @@
|
|||
HidePagination="true"
|
||||
Loading="Entries == null"
|
||||
OnRow="OnRow"
|
||||
@bind-SelectedRows="Selected"
|
||||
SelectedRowsChanged="SelectedChanged"
|
||||
RowSelectable="EntrySelectable"
|
||||
Size="@TableSize.Small">
|
||||
<Selection Key="@context.Path" Type="@(SelectMultiple ? "checkbox" : "radio")" />
|
||||
|
|
Loading…
Reference in New Issue