Skip to content

Commit

Permalink
[#55581] do not try to access non-existent field
Browse files Browse the repository at this point in the history
  • Loading branch information
EinLama committed Nov 29, 2024
1 parent 77e6cff commit 00addee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class UserDisplayField extends DisplayField {

public get value() {
if (this.schema) {
return this.typeSafeAttribute().name || '';
return this.typeSafeAttribute()?.name || '';
}
return null;
}
Expand Down

0 comments on commit 00addee

Please sign in to comment.