diff --git a/LANCommander/Components/FileManagerComponents/FileManager.razor b/LANCommander/Components/FileManagerComponents/FileManager.razor index f4d9c46..7d73c23 100644 --- a/LANCommander/Components/FileManagerComponents/FileManager.razor +++ b/LANCommander/Components/FileManagerComponents/FileManager.razor @@ -84,7 +84,9 @@ HidePagination="true" Loading="Entries == null" OnRow="OnRow" + @bind-SelectedRows="Selected" Size="@TableSize.Small"> + @if (context is FileManagerFile) { @@ -110,6 +112,9 @@ @code { [Parameter] public Guid ArchiveId { get; set; } [Parameter] public string WorkingDirectory { get; set; } + [Parameter] public bool SelectMultiple { get; set; } = true; + [Parameter] public IEnumerable Selected { get; set; } = new List(); + [Parameter] public EventCallback> SelectedChanged { get; set; } FileManagerDirectory Path { get; set; }