Skip to content

Commit f1edd49

Browse files
committed
Fix error message in field preview
1 parent 9c2bf98 commit f1edd49

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

desktop/src/app/components/configuration/add/field/field-preview.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ export class FieldPreviewComponent implements OnChanges {
3737

3838
private updateLabelAndDescription() {
3939

40+
if (!this.field) return;
41+
4042
const { label, description } = this.labels.getLabelAndDescription(this.field);
4143
this.label = label;
4244
this.description = description;

0 commit comments

Comments
 (0)