Minor fixes

This commit is contained in:
barsdeveloper
2024-09-09 16:55:52 +02:00
parent 4885a988f9
commit a763544b3b
7 changed files with 32 additions and 29 deletions

View File

@@ -93,7 +93,7 @@ export default class PinEntity extends IEntity {
bDefaultValueIsReadOnly: BooleanEntity.withDefault(),
bDefaultValueIsIgnored: BooleanEntity.withDefault(),
bAdvancedView: BooleanEntity.withDefault(),
bOrphanedPin: BooleanEntity.withDefault(),
bOrphanedPin: BooleanEntity,
}
static grammar = this.createGrammar()
@@ -313,7 +313,7 @@ export default class PinEntity extends IEntity {
}
getSubCategory() {
return this.PinType.PinSubCategoryObject.path
return this.PinType.PinSubCategoryObject?.path
}
pinColor() {