Commit 55536a1b authored by PiTrem's avatar PiTrem
Browse files

do not use sum formula for mol name in report

also fix in preview
parent 5251f259
......@@ -15,7 +15,7 @@ const onlyBlank = (target) => {
const sampleMoleculeName = (s) => {
const mnh = s.molecule_name_hash;
const mnLabel = mnh ? mnh.label : null;
const mnLabel = mnh && mnh.desc !== 'sum_formular' ? mnh.label : null;
const iupac = s.molecule.iupac_name;
if (mnLabel) {
return mnLabel;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment