Exclude already existing keys from dynamic key suggestions

This commit is contained in:
Misode
2024-11-27 01:28:29 +01:00
parent 145bced7d2
commit a86a707232
2 changed files with 15 additions and 9 deletions

View File

@@ -65,7 +65,7 @@ export function JsonFileView({ docAndNode, node }: JsonFileViewProps) {
return type
}, [resourceType, ctx])
return <div class="file-view tree node-root" data-category={getCategory(resourceType)}>
return <div class="file-view node-root" data-category={getCategory(resourceType)}>
{(ctx && mcdocType) && <McdocRoot type={mcdocType} node={node} ctx={ctx} />}
</div>
}