mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 05:43:46 +01:00
Add full name for absorption and fluorescence
This commit is contained in:
parent
017188a260
commit
a83778d36a
@ -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]])
|
||||
|
Loading…
Reference in New Issue
Block a user