diff --git a/src/web/ui/src/Access.fs b/src/web/ui/src/Access.fs index 5bd93f59f..840de8fd8 100644 --- a/src/web/ui/src/Access.fs +++ b/src/web/ui/src/Access.fs @@ -88,12 +88,11 @@ module Accounts = executionDecisionId="" clientId="" mfidId="" } - simAccountData = - { cti = CTICode.CtiCodeUndefined + simAccountData = + { cti = CTICode.CtiCodeUndefined origin = CustomerOrFirm.CustomerOrFirmCustomer - takeupMemberCode = "" clearingAccount = "" - } + } } } diff --git a/src/web/ui/src/Accounts/State.fs b/src/web/ui/src/Accounts/State.fs index e632c5e8e..f0d641523 100644 --- a/src/web/ui/src/Accounts/State.fs +++ b/src/web/ui/src/Accounts/State.fs @@ -161,7 +161,7 @@ let update msg (model:Model) : Model * Cmd = // Exchange data | UpdateCME field -> let newCme = applyCMEUpdate model.scratch.exchangeAccountData.cmeAccountData field - let scratch = { model.scratch with exchangeAccountData = { cmeAccountData = newCme; iceAccountData = model.scratch.exchangeAccountData.iceAccountData } } + let scratch = { model.scratch with exchangeAccountData = { cmeAccountData = newCme; simAccountData = newSim ; iceAccountData = model.scratch.exchangeAccountData.iceAccountData } } { model with scratch = scratch }, Cmd.Empty | RequestProducts -> model, Cmd.ofExistingPromise (requestProducts model.mdRelay) id (box>>ErrorOccured) diff --git a/src/web/ui/src/Users/State.fs b/src/web/ui/src/Users/State.fs index 79a16a0f7..8a77c46f7 100644 --- a/src/web/ui/src/Users/State.fs +++ b/src/web/ui/src/Users/State.fs @@ -57,6 +57,10 @@ let defaultScratchUser = { maxOrderRatePerConnection = "" location = "" } + simData = { + operatorId = "" + location = "" + } iceData = { authorizedTrader = "" memoField = ""