Skip to content

Commit

Permalink
chore: remove the id property to be always available in the whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordy Quak committed Jan 13, 2025
1 parent 8e94eda commit 202a603
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/filterComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,6 @@
const filterProps = (properties, id) => {
return Object.values(properties).filter((prop) => {
return (
// Always add the id
(prop.modelId === id && prop.name === 'id') ||
// Add all properties besides the forbidden
(prop.modelId === id &&
!forbiddenKinds.includes(prop.kind) &&
Expand Down

0 comments on commit 202a603

Please sign in to comment.