From c012a63e86212996576f8b188ca341968ef53745 Mon Sep 17 00:00:00 2001 From: Michael Harding Date: Thu, 23 Aug 2018 13:14:25 -0400 Subject: [PATCH] SPARK-1581: Limits can now be set twice --- src/web/ui/src/Accounts/View.fs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/web/ui/src/Accounts/View.fs b/src/web/ui/src/Accounts/View.fs index c2870fd1a..43777e540 100644 --- a/src/web/ui/src/Accounts/View.fs +++ b/src/web/ui/src/Accounts/View.fs @@ -72,9 +72,7 @@ let GetFilteredSymbolArray (model:Model) (remove:string []) = let a = (Array.map (fun a -> a.symbol ) model.mdRelayProductData |> Array.filter (fun elm -> (not <| Array.exists (fun e -> elm = e) remove)) |> Array.distinct) - match a.Length with - | 0 -> a - | _ -> [ [|model.AllValueDisplay|]; a ] |> Array.concat + [ [|model.AllValueDisplay|]; a ] |> Array.concat let limitFilter (positionLimit:AccountSecurityPositionLimitUnit option) (clipLimit:AccountSecurityClipLimitUnit option) allValueDisplay (array:'a []) = match positionLimit, clipLimit with