mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-10-26 10:02:24 +00:00
fix slight bug
This commit is contained in:
1 parent
8bc62f6099
commit
378a721f12
1 file changed
+1
-1
@@ -350,7 +350,7 @@ class ReportNode {
|
||||
gatherElements() {
|
||||
const elms: Record<string, string[]> = {};
|
||||
for (const thing of this.elements) {
|
||||
if (thing.options) elms[thing.json.name] = thing.options;
|
||||
if (thing.options?.length) elms[thing.json.name] = thing.options;
|
||||
}
|
||||
return elms;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user