Commit 22b3ab5b authored by pierre.tremouilhac's avatar pierre.tremouilhac
Browse files

Merge branch '257-mol-name-placeholder-in-report' into 'development'

do not use sum formula for mol name in report

Closes #257

See merge request !453
parents 3bc1cf1a 55536a1b
......@@ -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