From c4793daf07bf9746f43ef476208a6f135ca1f421 Mon Sep 17 00:00:00 2001 From: Pat Hartl Date: Wed, 8 Nov 2023 19:10:31 -0600 Subject: [PATCH] Fix exception in transfer input if no values are supplied --- LANCommander/Components/TransferInput.razor | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LANCommander/Components/TransferInput.razor b/LANCommander/Components/TransferInput.razor index 4a7b302..8f490c5 100644 --- a/LANCommander/Components/TransferInput.razor +++ b/LANCommander/Components/TransferInput.razor @@ -23,7 +23,8 @@ Title = TitleSelector.Invoke(i) }); - TargetKeys = Values.Select(i => i.Id.ToString()).ToList(); + if (Values != null) + TargetKeys = Values.Select(i => i.Id.ToString()).ToList(); } }