diff options
Diffstat (limited to 'src/fields/SchemaHeaderField.ts')
-rw-r--r-- | src/fields/SchemaHeaderField.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fields/SchemaHeaderField.ts b/src/fields/SchemaHeaderField.ts index a53fa542e..3dc70ac19 100644 --- a/src/fields/SchemaHeaderField.ts +++ b/src/fields/SchemaHeaderField.ts @@ -82,32 +82,32 @@ export class SchemaHeaderField extends ObjectField { setHeading(heading: string) { this.heading = heading; - this[OnUpdate](); + this[OnUpdate]?.(); } setColor(color: string) { this.color = color; - this[OnUpdate](); + this[OnUpdate]?.(); } setType(type: ColumnType) { this.type = type; - this[OnUpdate](); + this[OnUpdate]?.(); } setWidth(width: number) { this.width = width; - this[OnUpdate](); + this[OnUpdate]?.(); } setDesc(desc: boolean | undefined) { this.desc = desc; - this[OnUpdate](); + this[OnUpdate]?.(); } setCollapsed(collapsed: boolean | undefined) { this.collapsed = collapsed; - this[OnUpdate](); + this[OnUpdate]?.(); } [Copy]() { |