10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-07-23 03:07:44 +02:00

Add full name for absorption and fluorescence

This commit is contained in:
Mickaël Véril 2019-10-10 09:50:10 +02:00
parent 017188a260
commit a83778d36a

View File

@ -75,9 +75,14 @@ draft: false
var md = [];
var els = [];
var customRenderingProp = ["excitations", "sourceFile"]
const fullNames={
Abs:'Absorption',
Fluo:"Fluorescence",
ZPE:"ZPE"
}
for (const key of Object.keys(window.data)) {
if (window.data[key] != null) {
md.push(key)
if (window.data[key] != null) {
md.push(fullNames[key])
for (const prop of Object.keys(window.data[key])) {
if (!(customRenderingProp.includes(prop)))
md.push([prop, window.data[key][prop]])