File tree 1 file changed +3
-3
lines changed
src/encoded/static/components
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -588,7 +588,7 @@ const SchemaPage = (props) => {
588
588
const { title } = context ;
589
589
590
590
// The schema id is a path to the schema's JSON. Convert that to just the schema name.
591
- const schemaName = schemaIdToName ( context [ ' $id' ] ) ;
591
+ const schemaName = schemaIdToName ( context . $id ) ;
592
592
593
593
// Set up the "breadcrumbs" (sneer quotes because it's really just a link to /profiles/).
594
594
// If schemaName happened to be null (which it realistically can't), <BreadCrumbs> would
@@ -674,8 +674,8 @@ const AllSchemasPage = (props, reactContext) => {
674
674
// `objectName` is the @type of each objects e.g. GeneticModification
675
675
// `schemaName` is the system name of the objects e.g. genetic_modification
676
676
// `schemaPath` is the schema page path e.g. /profiles/genetic_modification
677
- const schemaName = schemaIdToName ( context [ objectName ] [ ' $id' ] ) ;
678
- const schemaPath = schemaIdToPage ( context [ objectName ] [ ' $id' ] ) ;
677
+ const schemaName = schemaIdToName ( context [ objectName ] . $id ) ;
678
+ const schemaPath = schemaIdToPage ( context [ objectName ] . $id ) ;
679
679
680
680
return (
681
681
< div className = "schema-list__item" key = { objectName } >
You can’t perform that action at this time.
0 commit comments