Skip to content

Commit 7c8b9fa

Browse files
fix: add missing 'nbPoints' property to simulated spectrum
1 parent 85d5187 commit 7c8b9fa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/component/reducer/actions/SpectraActions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ function handleSimulateSpectrum(
709709
(s) => s.id === draft.view.currentSimulatedSpectrumKey,
710710
);
711711
}
712-
const { frequency, to, from } = options;
712+
const { frequency, to, from, nbPoints } = options;
713713

714714
const info = {
715715
originFrequency: frequency,
@@ -731,6 +731,7 @@ function handleSimulateSpectrum(
731731
info: {
732732
isFt: true,
733733
nucleus: '1H',
734+
nbPoints,
734735
...info,
735736
},
736737
},

0 commit comments

Comments
 (0)