10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 05:43:46 +01:00

Fix filterning

This commit is contained in:
Mickaël Véril 2020-01-05 15:58:27 +01:00
parent ef60928c4f
commit 04a58c41b1

View File

@ -308,6 +308,7 @@ draft: false
} }
const key3 = JSON.stringify(dat.method) const key3 = JSON.stringify(dat.method)
for (const ex of dat.excitations) { for (const ex of dat.excitations) {
Reflect.setPrototypeOf(ex.type,excitationType.prototype)
if (window.filterParams[1] & ex.type != 0) { if (window.filterParams[1] & ex.type != 0) {
const key2 = JSON.stringify([ex.initial, ex.final, ex.type]) const key2 = JSON.stringify([ex.initial, ex.final, ex.type])
if (!datadic.get(key1).has(key2)) { if (!datadic.get(key1).has(key2)) {