Skip to content

Commit b63f3e6

Browse files
committed
Add fallback for property tags that don't fully parse
1 parent 3dd4ffd commit b63f3e6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

utils/data-processor.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,9 @@ export function processData(rawData, strategy) {
121121
continue;
122122
}
123123

124-
const name = entry.name || (entry.properties || [])[0]?.name;
124+
const name = entry.name ||
125+
(entry.properties || [])[0]?.name ||
126+
entry.tags?.find(t => t.title === 'property')?.name;
125127

126128
// Skip duplicates based on name + class combination
127129
const key = `${name}:${forEntry || 'p5'}`;

0 commit comments

Comments
 (0)