We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc89ad7 commit cc8d1e8Copy full SHA for cc8d1e8
browser/data-browser/src/views/CodeUsage/generators/CodeGenerator.ts
@@ -107,12 +107,12 @@ export abstract class CodeGenerator {
107
}
108
109
const [propResource, ontology] = await Promise.all([
110
- this.store.getResource(property),
+ this.store.getResource<Core.Property>(property),
111
this.store.getResource(ontologySubject),
112
]);
113
114
const ontName = toCamelCase(ontology.title);
115
- const propName = toCamelCase(propResource.title);
+ const propName = toCamelCase(propResource.props.shortname);
116
117
return {
118
propImport: this.isOntologyIncludedInLib(ontology.subject)
0 commit comments