We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7063f6f commit 85d26e4Copy full SHA for 85d26e4
1 file changed
src/backend/decorators/resource/resource-decorator.ts
@@ -250,7 +250,7 @@ class ResourceDecorator {
250
251
const properties = Object.values(this.properties)
252
if (this.options.titleProperty) {
253
- titleProperty = properties.find((p) => p.propertyPath === this.options.titleProperty)
+ titleProperty = this.getPropertyByKey(this.options.titleProperty)
254
} else {
255
titleProperty = properties.find((p) => p.isTitle())
256
}
0 commit comments