Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
gy4443
chemotion_eln_server
Commits
55536a1b
Commit
55536a1b
authored
Sep 25, 2017
by
PiTrem
Browse files
do not use sum formula for mol name in report
also fix in preview
parent
5251f259
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/assets/javascripts/components/report/SectionSiSynthesis.js
View file @
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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment