Skip to content

Commit f266b8c

Browse files
Copilothotlong
andcommitted
fix: remove unnecessary type assertion in ObjectAgGrid expand call
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 6cd7971 commit f266b8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/plugin-aggrid/src/ObjectAgGridImpl.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export default function ObjectAgGridImpl({
114114
}
115115

116116
// Auto-inject $expand for lookup/master_detail fields
117-
const expand = buildExpandFields(objectSchema?.fields as Record<string, any>);
117+
const expand = buildExpandFields(objectSchema?.fields);
118118
if (expand.length > 0) {
119119
queryParams.$expand = expand;
120120
}

0 commit comments

Comments
 (0)