diff --git a/src/main/webdemo/js/app.js b/src/main/webdemo/js/app.js index a03e690cba..121b9e6c16 100644 --- a/src/main/webdemo/js/app.js +++ b/src/main/webdemo/js/app.js @@ -145,10 +145,10 @@ let Deal = function(dealViewModel) { _.assign(fixedLeg, dealViewModel.fixedLeg); _.assign(floatingLeg, dealViewModel.floatingLeg); _.assign(common, dealViewModel.common); - - fixedRateViewModel.fixedRate = Number(fixedLeg.fixedRate) / 100; _.assign(fixedLeg.fixedRate, fixedRateViewModel); + fixedLeg.fixedRate = Number(fixedLeg.fixedRate) / 100; + common.tradeID = tradeId; fixedLeg.effectiveDate = formatDateForNode(fixedLeg.effectiveDate); fixedLeg.terminationDate = formatDateForNode(fixedLeg.terminationDate);