diff --git a/src/client/spark/Modules/Trading/OrderBook/OrderBookRowVM.cs b/src/client/spark/Modules/Trading/OrderBook/OrderBookRowVM.cs index cdf97002c..2f9df1288 100644 --- a/src/client/spark/Modules/Trading/OrderBook/OrderBookRowVM.cs +++ b/src/client/spark/Modules/Trading/OrderBook/OrderBookRowVM.cs @@ -22,7 +22,6 @@ namespace mbts.spark { IRaiseCanExecuteChangedCommand _show_order_modify_cmd, _toggle_expanded_cmd, _cancel_cmd, _detach_command, _attach_command, _update_command, _modify_order_quantity_andor_price, _revert_prospective_order_quantity_andor_price; bool _is_parent, _is_expanded, _is_selected, _is_attachable, _is_detachable; int _depth_level; - OrderRecordImmutable? _root_algo_record; SecurityImmutable? _security => order_tuple.security; @@ -105,14 +104,7 @@ namespace mbts.spark { public string filled_status_desc => order.filled_status_description(security.spec_or_default()); // Root Algo - public OrderRecordImmutable root_algo_record { - get { - if (!_root_algo_record.HasValue) { - _root_algo_record = _owner.get_root(this.order); - } - return _root_algo_record.Value; - } - } + public OrderRecordImmutable root_algo_record => _owner.get_root(this.order); public CustomOrderDefinition.CustomOneofCase root_algo_order_type => root_algo_record.order_type(); public OrderSecurityAlgoMeta root_algo_order_tuple => _owner.get_ordersecurityalgometa(root_algo_record); public OrderMetadata root_algo_order_metdata => _owner.get_metadata(root_algo_record);