Skip to content

Commit

Permalink
fix: allow editing non-generated ids
Browse files Browse the repository at this point in the history
  • Loading branch information
mohd-akram authored and dziraf committed Feb 14, 2024
1 parent d18fffe commit 1f97c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Property.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class Property extends BaseProperty {
}

public isEditable(): boolean {
return !this.isId()
return !this.column.isGenerated
&& !this.column.isCreateDate
&& !this.column.isUpdateDate
}
Expand Down

0 comments on commit 1f97c75

Please sign in to comment.