epam / Indigo-ELN-v.-2.0

Indigo - The Open-Source Chemistry Electronic Lab Notebook
MIT License
25 stars 18 forks source link

Fix molecular formula display #1

Closed vladmra closed 5 years ago

vladmra commented 5 years ago

In some cases value of item.formula binding in "Reactant structure search" window is a string and in some an object with value prop (for reactants with salt code), sometimes its even null. To circumvent this we could make a check each time to determine how to display this value.