mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 12:37:20 +00:00
fixing condition where entity has been created with empty label
This commit is contained in:
@@ -158,7 +158,7 @@ export class Entity<
|
||||
}
|
||||
|
||||
get label(): string {
|
||||
return snakeToPascalWithSpaces(this.config.name ?? this.name);
|
||||
return snakeToPascalWithSpaces(this.config.name || this.name);
|
||||
}
|
||||
|
||||
field(name: string): Field | undefined {
|
||||
|
||||
Reference in New Issue
Block a user