Skip to content

Commit 26c8060

Browse files
committed
fix(plugin-list): drop the unused binding the shared hidden predicate left
Claude-Session: https://claude.ai/code/session_01Utp6CY1ikAq74XRbNdsyUC Co-authored-by: Claude <noreply@anthropic.com>
1 parent 94a071b commit 26c8060

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ui/packages/plugin-list/src/ListView.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5691,7 +5691,7 @@ export const ListView = React.forwardRef<ListViewHandle, ListViewProps>(({
56915691
if (onAddedFieldsChange && objectDef?.fields) {
56925692
const defs = objectDef.fields as Record<string, { label?: string; hidden?: unknown; system?: boolean } | undefined>;
56935693
const listed = new Set(allFields.map((f) => f.name));
5694-
const candidates = Object.entries(defs).filter(([name, def]) =>
5694+
const candidates = Object.entries(defs).filter(([name]) =>
56955695
!listed.has(name) && !isDeclaredHidden(defs, name) && canReadField(perms, schema.objectName, name));
56965696
for (const tier of [false, true]) {
56975697
for (const [name, def] of candidates) {

0 commit comments

Comments
 (0)