diff --git a/SHERPA.BBM.UI/Components/NegotiationEditor.razor b/SHERPA.BBM.UI/Components/NegotiationEditor.razor index fe2b67c..2361c26 100644 --- a/SHERPA.BBM.UI/Components/NegotiationEditor.razor +++ b/SHERPA.BBM.UI/Components/NegotiationEditor.razor @@ -32,8 +32,8 @@
- - + +
@@ -79,33 +79,16 @@ { get { - int answ = 0; - if (_selCustId != 0) + int answ = 1; + if (_negotiation != null) { - answ = _selCustId; - } - else - { - try - { - if (_negotiation != null) - { - answ = (int)_negotiation.CustomerId; - } - } - catch - { - answ = 1; - } + answ = _negotiation.CustomerId; } return answ; } set { - _selCustId = value; - // condiziono visualizzazione... - var pUpd = Task.Run(async () => await ReloadAllData()); - pUpd.Wait(); + _negotiation.CustomerId = value; } } diff --git a/SHERPA.BBM.UI/SHERPA.BBM.UI.csproj b/SHERPA.BBM.UI/SHERPA.BBM.UI.csproj index cc91a35..ac356c9 100644 --- a/SHERPA.BBM.UI/SHERPA.BBM.UI.csproj +++ b/SHERPA.BBM.UI/SHERPA.BBM.UI.csproj @@ -4,7 +4,7 @@ net5.0 60fcdaab-6c1e-4bec-9d88-f7727ef1c12c wwwroot\favicon.ico - 1.0.2112.1008 + 1.0.2112.1010