From fd5c973cfe0ea0fa9b0be954a6e6245ab32a5302 Mon Sep 17 00:00:00 2001 From: Sumit Ghosh <13281246+sughosneo@users.noreply.github.com> Date: Thu, 29 Apr 2021 16:27:46 +0530 Subject: [PATCH] Fixed order details summary in WebMVC --- src/Web/WebMVC/ViewModels/Order.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Web/WebMVC/ViewModels/Order.cs b/src/Web/WebMVC/ViewModels/Order.cs index 23242191a..7b8d2b499 100644 --- a/src/Web/WebMVC/ViewModels/Order.cs +++ b/src/Web/WebMVC/ViewModels/Order.cs @@ -54,11 +54,8 @@ namespace Microsoft.eShopOnContainers.WebMVC.ViewModels public List ActionCodeSelectList => GetActionCodesByCurrentState(); - - // See the property initializer syntax below. This - // initializes the compiler generated field for this - // auto-implemented property. - public List OrderItems { get; } = new List(); + + public List OrderItems { get; set; } [Required] public Guid RequestId { get; set; }