@@ -104,7 +104,7 @@ class Content extends React.Component {
104104 }
105105
106106 formatPks ( {
107- peaks, layout, shift, isAscend, decimal, isIntensity, integration, curveSt,
107+ peaks, layout, shift, isAscend, decimal, isIntensity, integration, curveSt, waveLength ,
108108 } ) {
109109 const { fileSt } = this . props ;
110110 const { jcamp, jcampList } = fileSt ;
@@ -118,11 +118,10 @@ class Content extends React.Component {
118118 }
119119 const { entity } = data ;
120120 const { features } = entity ;
121+ const { temperature } = entity ;
121122 const { maxY, minY } = Array . isArray ( features ) ? { } : ( features . editPeak || features . autoPeak ) ;
122123 const boundary = { maxY, minY } ;
123- const body = FN . peaksBody ( {
124- peaks, layout, decimal, shift, isAscend, isIntensity, boundary, integration,
125- } ) ;
124+ const body = FN . peaksBody ( { peaks, layout, decimal, shift, isAscend, isIntensity, boundary, integration, waveLength, temperature, } ) ; //eslint-disable-line
126125 const wrapper = FN . peaksWrapper ( layout , shift ) ;
127126 const desc = RmDollarSign ( wrapper . head ) + body + wrapper . tail ;
128127 return desc ;
@@ -197,10 +196,10 @@ class Content extends React.Component {
197196 }
198197
199198 writePeak ( {
200- peaks, layout, shift, isAscend, decimal, isIntensity, integration, curveSt,
199+ peaks, layout, shift, isAscend, decimal, isIntensity, integration, curveSt, waveLength ,
201200 } ) {
202201 const desc = this . formatPks ( {
203- peaks, layout, shift, isAscend, decimal, isIntensity, integration, curveSt,
202+ peaks, layout, shift, isAscend, decimal, isIntensity, integration, curveSt, waveLength ,
204203 } ) ;
205204 const { updateDescAct } = this . props ;
206205 updateDescAct ( desc ) ;
0 commit comments